Share via


GraphDataObject.GetData Method (String, Boolean)

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

Gets 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 String, _
    autoConvert As Boolean _
) As Object
public Object GetData(
    string format,
    bool autoConvert
)
public:
virtual Object^ GetData(
    String^ format, 
    bool autoConvert
) sealed
abstract GetData : 
        format:string * 
        autoConvert:bool -> Object  
override GetData : 
        format:string * 
        autoConvert:bool -> Object
public final function GetData(
    format : String, 
    autoConvert : boolean
) : Object

Parameters

Return Value

Type: System.Object
The data if the format is supported, null otherwise

Implements

IDataObject.GetData(String, Boolean)

Remarks

If the format asked for is a graph, the graph object is returned without serialization. Otherwise, if the format asked for is supported, the data is returned as a string.

.NET Framework Security

See Also

Reference

GraphDataObject Class

GetData Overload

Microsoft.VisualStudio.GraphModel Namespace