SchemaHierarchyBase.IsEqual 方法
比较两个层次结构节点以确定它们是否相等。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
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
参数
- node1
类型:Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
第一个节点。
- node2
类型:Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
第二个节点。
返回值
类型:System.Boolean
如果相等,则为 true。
备注
比较文件夹节点的标题,并且比较元素节点的模型元素。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空间