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
- node1
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
First node.
- node2
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
Second node.
Return Value
Type: System.Boolean
True if equal.
Remarks
Compares captions for folder nodes and compares model elements for element nodes.
.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.Data.Schema.Package.Project.SchemaModelViewer Namespace