DesignSurfaceElementOperations.GetTargetDiagramId Method
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Shared Function GetTargetDiagramId ( _
elementGroupPrototype As ElementGroupPrototype _
) As Guid
public static Guid GetTargetDiagramId(
ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetTargetDiagramId(
ElementGroupPrototype^ elementGroupPrototype
)
static member GetTargetDiagramId :
elementGroupPrototype:ElementGroupPrototype -> Guid
public static function GetTargetDiagramId(
elementGroupPrototype : ElementGroupPrototype
) : Guid
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Return Value
Type: System.Guid
The id of the target Diagram, or Guid.Empty if none is set in the EGP's target context.
.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.