GetData(String) Method (WinFormsSystemClipboard)
Retrieves data, in the specified format, from the Clipboard.
public System.Object GetData(
System.String
)
public: System.Object GetData(
System.String
)
public:
System.Object GetData(
System.String
)
'Declaration
Public Function GetData( _
ByVal As System.String _
) As System.Object
Parameters
- format
- The format of the data to retrieve.
Return Value
An System.Object representing the Clipboard data or null if the Clipboard does not contain any data that is in the specified .
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5