DragSourceContext::GetDiagramId Method (ElementGroupPrototype^)

 

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

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 GetDiagramId(
	ElementGroupPrototype^ elementGroupPrototype
)

Parameters

elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^

The ElementGroupPrototype where the DragSourceContext has been saved to.

Return Value

Type: System::Guid
Return to top
Show: