GraphDataObject::GetData Method (Type^)

 

Gets the data for the passed in format

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

public:
virtual Object^ GetData(
	Type^ format
) sealed

Parameters

format
Type: System::Type^

The format desired

Return Value

Type: System::Object^

The data for this object if the format type is supported, null otherwise

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

Return to top
Show: