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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static Guid GetInitialPrimaryShapeId(
	ElementGroup^ elementGroup
)

Parameters

elementGroup
Type: Microsoft.VisualStudio.Modeling::ElementGroup^

The ElementGroup where the DragSourceContext has been saved to.

Return Value

Type: System::Guid
Return to top
Show: