DragSourceContext.GetDiagramId Method (ElementGroupPrototype)

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

Syntax

'宣言
Public Shared Function GetDiagramId ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Guid
'使用
Dim elementGroupPrototype As ElementGroupPrototype
Dim returnValue As Guid

returnValue = DragSourceContext.GetDiagramId(elementGroupPrototype)
public static Guid GetDiagramId(
    ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetDiagramId(
    ElementGroupPrototype^ elementGroupPrototype
)
public static function GetDiagramId(
    elementGroupPrototype : ElementGroupPrototype
) : Guid

Parameters

Return Value

Type: System.Guid

Permissions

See Also

Reference

DragSourceContext Class

DragSourceContext Members

GetDiagramId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace