GraphDataObject.GetDataPresent Method (String, Boolean)
Determines if the passed in format is supported by this data object
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function GetDataPresent ( _
format As String, _
autoConvert As Boolean _
) As Boolean
public bool GetDataPresent(
string format,
bool autoConvert
)
public:
virtual bool GetDataPresent(
String^ format,
bool autoConvert
) sealed
abstract GetDataPresent :
format:string *
autoConvert:bool -> bool
override GetDataPresent :
format:string *
autoConvert:bool -> bool
public final function GetDataPresent(
format : String,
autoConvert : boolean
) : boolean
Parameters
- format
Type: System.String
The desired format
- autoConvert
Type: System.Boolean
Ignored
Return Value
Type: System.Boolean
True if the format is supported, false otherwise
Implements
IDataObject.GetDataPresent(String, Boolean)
.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.