Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class provides IDataObject support for exchanging DGML data via the clipboard and drag/drop.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.GraphModel.GraphDataObject
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Class GraphDataObject _
Implements IDataObject
public class GraphDataObject : IDataObject
public ref class GraphDataObject : IDataObject
type GraphDataObject =
class
interface IDataObject
end
public class GraphDataObject implements IDataObject
The GraphDataObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
GraphDataObject | Construct new GraphDataObject |
Top
Properties
Name | Description | |
---|---|---|
![]() |
GetSourceId | Get the Guid that represents the source of the drag/drop operation. |
![]() |
Graph | Get the graph that this data object is wrapping |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Create | Construct a new DataObject for exchanging the given selection. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() |
GetClipboardData | Get the XML from the clipboard. |
![]() |
GetData(String) | Gets the data for the passed in format |
![]() |
GetData(Type) | Gets the data for the passed in format |
![]() ![]() |
GetData(IDataObject) | Get the DGML in the given data object. |
![]() |
GetData(String, Boolean) | Gets data for the passed in format |
![]() |
GetDataPresent(String) | Determines if the passed in format is supported |
![]() |
GetDataPresent(Type) | Determines if the passed in format is supported |
![]() |
GetDataPresent(String, Boolean) | Determines if the passed in format is supported by this data object |
![]() |
GetFormats() | |
![]() |
GetFormats(Boolean) | Gets the formats supported by this data object |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() |
GetSubset | Helper method that a new Graph containing all the selected nodes plus links and nodes linked to up to the given number of levels of indirection |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
IsClipboardDgml | Determine if the clipboard has a supported format |
![]() ![]() |
IsDgml | Determines if the given xml starts with DirectedGraph |
![]() ![]() |
IsGraphData | Determines if the data object has a supported format |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
SetData(Object) | Sets data into the data object - Not Implemented |
![]() |
SetData(String, Object) | Sets data into the data object - Not Implemented |
![]() |
SetData(Type, Object) | Sets data into the data object - Not Implemented |
![]() |
SetData(String, Object, Boolean) | Sets data into the data object - Not Implemented |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.