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)
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
format
Type: StringThe desired format of the data
autoConvert
Type: BooleanNot used
Return Value
Type: 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
- 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.