C# Class System.Windows.Forms.Clipboard

显示文件 Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
ContainsAudio ( ) : bool
ContainsData ( string format ) : bool
ContainsFileDropList ( ) : bool
ContainsImage ( ) : bool
ContainsText ( ) : bool
ContainsText ( TextDataFormat format ) : bool
GetAudioStream ( ) : Stream
GetData ( string format ) : Object
GetDataObject ( ) : IDataObject
GetFileDropList ( ) : StringCollection
GetImage ( ) : Image
GetText ( ) : string
GetText ( TextDataFormat format ) : string
SetAudio ( Stream audioStream ) : void
SetAudio ( byte audioBytes ) : void
SetData ( string format, Object data ) : void
SetDataObject ( object data ) : void
SetDataObject ( object data, bool copy ) : void
SetDataObject ( object data, bool copy, int retryTimes, int retryDelay ) : void
SetImage ( Image image ) : void
SetText ( string text ) : void
SetText ( string text, TextDataFormat format ) : void

Private Methods

Method Description
Clipboard ( ) : System
ClipboardContainsFormat ( ) : bool
ConvertFromClipboardData ( int type, IntPtr data, object &obj ) : bool
ConvertToClipboardData ( int &type, object obj, byte &data ) : bool
GetDataObject ( bool primary_selection ) : IDataObject
IsDataSerializable ( object obj ) : bool
SetDataObjectImpl ( object data, bool copy ) : void
SetFileDropList ( StringCollection filePaths ) : void

Method Details

Clear() public static method

public static Clear ( ) : void
return void

ContainsAudio() public static method

public static ContainsAudio ( ) : bool
return bool

ContainsData() public static method

public static ContainsData ( string format ) : bool
format string
return bool

ContainsFileDropList() public static method

public static ContainsFileDropList ( ) : bool
return bool

ContainsImage() public static method

public static ContainsImage ( ) : bool
return bool

ContainsText() public static method

public static ContainsText ( ) : bool
return bool

ContainsText() public static method

public static ContainsText ( TextDataFormat format ) : bool
format TextDataFormat
return bool

GetAudioStream() public static method

public static GetAudioStream ( ) : Stream
return Stream

GetData() public static method

public static GetData ( string format ) : Object
format string
return Object

GetDataObject() public static method

public static GetDataObject ( ) : IDataObject
return IDataObject

GetFileDropList() public static method

public static GetFileDropList ( ) : StringCollection
return System.Collections.Specialized.StringCollection

GetImage() public static method

public static GetImage ( ) : Image
return Image

GetText() public static method

public static GetText ( ) : string
return string

GetText() public static method

public static GetText ( TextDataFormat format ) : string
format TextDataFormat
return string

SetAudio() public static method

public static SetAudio ( Stream audioStream ) : void
audioStream Stream
return void

SetAudio() public static method

public static SetAudio ( byte audioBytes ) : void
audioBytes byte
return void

SetData() public static method

public static SetData ( string format, Object data ) : void
format string
data Object
return void

SetDataObject() public static method

public static SetDataObject ( object data ) : void
data object
return void

SetDataObject() public static method

public static SetDataObject ( object data, bool copy ) : void
data object
copy bool
return void

SetDataObject() public static method

public static SetDataObject ( object data, bool copy, int retryTimes, int retryDelay ) : void
data object
copy bool
retryTimes int
retryDelay int
return void

SetImage() public static method

public static SetImage ( Image image ) : void
image Image
return void

SetText() public static method

public static SetText ( string text ) : void
text string
return void

SetText() public static method

public static SetText ( string text, TextDataFormat format ) : void
text string
format TextDataFormat
return void