Share via


GraphDataObject.GetDataPresent Method (Type)

Determines if the passed in format is supported

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function GetDataPresent ( _
    format As Type _
) As Boolean
public bool GetDataPresent(
    Type format
)
public:
virtual bool GetDataPresent(
    Type^ format
) sealed
abstract GetDataPresent : 
        format:Type -> bool 
override GetDataPresent : 
        format:Type -> bool 
public final function GetDataPresent(
    format : Type
) : boolean

Parameters

  • format
    Type: System.Type
    The type representing the format desired

Return Value

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

Implements

IDataObject.GetDataPresent(Type)

.NET Framework Security

See Also

Reference

GraphDataObject Class

GetDataPresent Overload

Microsoft.VisualStudio.GraphModel Namespace