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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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
elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototypeThe ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: 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.