Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[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
format
Type: System.StringThe desired format of the data
autoConvert
Type: System.BooleanNot used
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
- 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.