Compartir a través de


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

'Declaración
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

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

See Also

Reference

DesignSurfaceElementOperations Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace