Share via


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

Return Value

Type: System.Boolean
True if the format is supported, false otherwise

Implements

IDataObject.GetDataPresent(String, Boolean)

.NET Framework Security

See Also

Reference

GraphDataObject Class

GetDataPresent Overload

Microsoft.VisualStudio.GraphModel Namespace