SchemaHierarchyBase.ArePathsEqual 方法
比较两个层次结构节点路径以确定它们是否相等。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Shared Function ArePathsEqual ( _
path1 As IList(Of ISchemaModelViewerNode), _
path2 As IList(Of ISchemaModelViewerNode) _
) As Boolean
public static bool ArePathsEqual(
IList<ISchemaModelViewerNode> path1,
IList<ISchemaModelViewerNode> path2
)
public:
static bool ArePathsEqual(
IList<ISchemaModelViewerNode^>^ path1,
IList<ISchemaModelViewerNode^>^ path2
)
static member ArePathsEqual :
path1:IList<ISchemaModelViewerNode> *
path2:IList<ISchemaModelViewerNode> -> bool
public static function ArePathsEqual(
path1 : IList<ISchemaModelViewerNode>,
path2 : IList<ISchemaModelViewerNode>
) : boolean
参数
- path1
类型:System.Collections.Generic.IList<ISchemaModelViewerNode>
第一个路径。
- path2
类型:System.Collections.Generic.IList<ISchemaModelViewerNode>
第二个路径。
返回值
类型:System.Boolean
如果相等,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空间