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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: System.Guid
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.