Condividi tramite


DragSourceContext.GetInitialPrimaryShapeId Method (ElementGroup)

Returns the Guid of the primary shape in the ElementGroupPototype.

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

Syntax

'Dichiarazione
Public Shared Function GetInitialPrimaryShapeId ( _
    elementGroup As ElementGroup _
) As Guid
public static Guid GetInitialPrimaryShapeId(
    ElementGroup elementGroup
)
public:
static Guid GetInitialPrimaryShapeId(
    ElementGroup^ elementGroup
)
static member GetInitialPrimaryShapeId : 
        elementGroup:ElementGroup -> Guid 
public static function GetInitialPrimaryShapeId(
    elementGroup : ElementGroup
) : Guid

Parameters

Return Value

Type: System.Guid

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetInitialPrimaryShapeId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace