DesignSurfaceElementOperations.GetTargetDiagramId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.