Share via


DragSourceContext.GetInitialPrimaryShapeId Method (ElementGroupPrototype)

Returns the Guid of the primary shape in the ElementGroupPototype.

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 GetInitialPrimaryShapeId ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Guid
public static Guid GetInitialPrimaryShapeId(
    ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetInitialPrimaryShapeId(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetInitialPrimaryShapeId : 
        elementGroupPrototype:ElementGroupPrototype -> Guid
public static function GetInitialPrimaryShapeId(
    elementGroupPrototype : ElementGroupPrototype
) : Guid

Parameters

Return Value

Type: System.Guid

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetInitialPrimaryShapeId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace