GraphDataObject Class

 

This class provides IDataObject support for exchanging DGML data via the clipboard and drag/drop.

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

System.Object
  Microsoft.VisualStudio.GraphModel.GraphDataObject

public class GraphDataObject : IDataObject

NameDescription
System_CAPS_pubmethodGraphDataObject(Graph, Guid)

Construct new GraphDataObject

System_CAPS_pubmethodGraphDataObject(String, Guid, DataFormat[])

Construct new GraphDataObject that publishes specific set of DGML formats

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAllDgmlFormats

Get list of all DGML formats, including Text formats.

System_CAPS_pubpropertySystem_CAPS_staticDgmlFormat

Get the format representing DGML text.

System_CAPS_pubpropertyGetSourceId

Get the Guid that represents the source of the drag/drop operation.

System_CAPS_pubpropertySystem_CAPS_staticGraphFormat

Get the format representing a Graph object.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(IEnumerable<GraphNode>, Guid, Int32)

Create an IDataObject for exchanging the selected nodes (and all their descendants).

System_CAPS_pubmethodSystem_CAPS_staticCreate(IEnumerable<GraphNode>, Guid, Int32, DataFormat[])

Create an IDataObject for exchanging the selected nodes (and all their descendants).

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetClipboardData()

Get the XML from the clipboard.

System_CAPS_pubmethodSystem_CAPS_staticGetData(IDataObject)

Get the DGML in the given data object.

System_CAPS_pubmethodGetData(String)

Gets the data for the passed in format

System_CAPS_pubmethodGetData(String, Boolean)

Gets data for the passed in format

System_CAPS_pubmethodGetData(Type)

Gets the data for the passed in format

System_CAPS_pubmethodGetDataPresent(String)

Determines if the passed in format is supported

System_CAPS_pubmethodGetDataPresent(String, Boolean)

Determines if the passed in format is supported by this data object

System_CAPS_pubmethodGetDataPresent(Type)

Determines if the passed in format is supported

System_CAPS_pubmethodGetFormats()

Gets the formats supported by this data object

System_CAPS_pubmethodGetFormats(Boolean)

Gets the formats supported by this data object

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetSourceGuid(IDataObject)

Gets the source guid for the given data object.

System_CAPS_pubmethodSystem_CAPS_staticGetSubset(IEnumerable<GraphNode>, Int32)

Helper method that a new Graph that contains all the selected nodes plus links and nodes linked to up to the given number of levels of indirection

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsClipboardDgml()

Determine if the clipboard has a supported format

System_CAPS_pubmethodSystem_CAPS_staticIsDgml(String)

Determines if the given xml starts with DirectedGraph

System_CAPS_pubmethodSystem_CAPS_staticIsGraphData(IDataObject)

Determines if the data object has a supported format

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetData(Object)

Sets data into the data object - Not Implemented

System_CAPS_pubmethodSetData(String, Object)

Sets data into the data object - Not Implemented

System_CAPS_pubmethodSetData(String, Object, Boolean)

Sets data into the data object - Not Implemented

System_CAPS_pubmethodSetData(Type, Object)

Sets data into the data object - Not Implemented

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: