Freigeben über


DragSourceContext.GetDiagramId Method (ElementGroupPrototype)

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetDiagramId ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Guid
public static Guid GetDiagramId(
    ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetDiagramId(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetDiagramId : 
        elementGroupPrototype:ElementGroupPrototype -> Guid
public static function GetDiagramId(
    elementGroupPrototype : ElementGroupPrototype
) : Guid

Parameters

Return Value

Type: System.Guid

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetDiagramId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace