Condividi tramite


DragSourceContext.GetDiagramId Method

Definition

Overloads

GetDiagramId(ElementGroup)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

GetDiagramId(ElementGroupPrototype)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

GetDiagramId(ElementGroup)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

public:
 static Guid GetDiagramId(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static Guid GetDiagramId (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member GetDiagramId : Microsoft.VisualStudio.Modeling.ElementGroup -> Guid
Public Shared Function GetDiagramId (elementGroup As ElementGroup) As Guid

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

The source diagram id.

Applies to

GetDiagramId(ElementGroupPrototype)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

public:
 static Guid GetDiagramId(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public static Guid GetDiagramId (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
static member GetDiagramId : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Guid
Public Shared Function GetDiagramId (elementGroupPrototype As ElementGroupPrototype) As Guid

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

The source diagram id.

Applies to