Share via


PresentationHelpers.IsSameDiagram Method (IDiagram, IDiagram)

 

Verify whether two UML diagram references refer to the same diagram. Use this instead of ==.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

public static bool IsSameDiagram(
    IDiagram diagram1,
    IDiagram diagram2
)
public:
static bool IsSameDiagram(
    IDiagram^ diagram1,
    IDiagram^ diagram2
)
static member IsSameDiagram : 
        diagram1:IDiagram *
        diagram2:IDiagram -> bool
Public Shared Function IsSameDiagram (
    diagram1 As IDiagram,
    diagram2 As IDiagram
) As Boolean

Parameters

Return Value

Type: System.Boolean

See Also

PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top