GraphDataObject::GetData Method (String^, Boolean)

 

Gets data for the passed in format

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

public:
virtual Object^ GetData(
	String^ format,
	bool autoConvert
) sealed

Parameters

format
Type: System::String^

The desired format of the data

autoConvert
Type: System::Boolean

Not used

Return Value

Type: System::Object^

The data if the format is supported, null otherwise

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.

Return to top
Show: