Share via


PresentationHelpers.IsSameDiagram Method

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

'Declaration
Public Shared Function IsSameDiagram ( _
    diagram1 As IDiagram, _
    diagram2 As IDiagram _
) As Boolean
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 static function IsSameDiagram(
    diagram1 : IDiagram, 
    diagram2 : IDiagram
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

PresentationHelpers Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace