DesignSurfaceElementOperations::GetTargetDiagramId Method (ElementGroupPrototype^)

 

Get the Id of the Diagram targetted by an ElementGroupPrototype Merge/CanMerge originating from an instance of this class.

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

Parameters

Return Value

Type: System::Guid

The id of the target Diagram, or Guid.Empty if none is set in the EGP's target context.

Return to top
Show: