Share via


DesignSurfaceElementOperations.GetTargetDiagramId Method

Definition

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

public:
 static Guid GetTargetDiagramId(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public static Guid GetTargetDiagramId (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
static member GetTargetDiagramId : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Guid
Public Shared Function GetTargetDiagramId (elementGroupPrototype As ElementGroupPrototype) As Guid

Parameters

elementGroupPrototype
ElementGroupPrototype

Returns

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

Applies to