Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overrides Function GetDataPresent ( _
format As Type _
) As Boolean
public override bool GetDataPresent(
Type format
)
public:
virtual bool GetDataPresent(
Type^ format
) override
abstract GetDataPresent :
format:Type -> bool
override GetDataPresent :
format:Type -> bool
public override function GetDataPresent(
format : Type
) : boolean
Parameters
- format
Type: System.Type
The class type associated with the data.
Return Value
Type: System.Boolean
true if the data can be converted to or is associated with the specified format; otherwise, false.
Implements
IDataObject.GetDataPresent(Type)
Remarks
This method delegates the call to the GetDataPresent method of the DataObject class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.