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
- 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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace