Dela via


SchemaHierarchyBase.IsEqual Method

Compares two hierarchy nodes to determine whether they are equal.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Shared Function IsEqual ( _
    node1 As ISchemaModelViewerNode, _
    node2 As ISchemaModelViewerNode _
) As Boolean
public static bool IsEqual(
    ISchemaModelViewerNode node1,
    ISchemaModelViewerNode node2
)
public:
static bool IsEqual(
    ISchemaModelViewerNode^ node1, 
    ISchemaModelViewerNode^ node2
)
static member IsEqual : 
        node1:ISchemaModelViewerNode * 
        node2:ISchemaModelViewerNode -> bool 
public static function IsEqual(
    node1 : ISchemaModelViewerNode, 
    node2 : ISchemaModelViewerNode
) : boolean

Parameters

Return Value

Type: System.Boolean
True if equal.

Remarks

Compares captions for folder nodes and compares model elements for element nodes.

.NET Framework Security

See Also

Reference

SchemaHierarchyBase Class

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace