Delen via


GraphDataObject.GetData Method (Type)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the data for the passed in format

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

Syntax

'Declaration
Public Function GetData ( _
    format As Type _
) As Object
public Object GetData(
    Type format
)
public:
virtual Object^ GetData(
    Type^ format
) sealed
abstract GetData : 
        format:Type -> Object  
override GetData : 
        format:Type -> Object
public final function GetData(
    format : Type
) : Object

Parameters

Return Value

Type: System.Object
The data for this object if the format type is supported, null otherwise

Implements

IDataObject.GetData(Type)

Remarks

If type passed in is a string, then the graph is returned as an xml string. If the type passed in is a Graph, then the graph object is returned without any serialization

.NET Framework Security

See Also

Reference

GraphDataObject Class

GetData Overload

Microsoft.VisualStudio.GraphModel Namespace