GraphDataObject.GetDataPresent Method (String, Boolean)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.StringThe desired format
autoConvert
Type: System.BooleanIgnored
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.