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
format
Type: System.TypeThe format desired
Return Value
Type: System.Object
The data for this object if the format type is supported, null otherwise
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.