SchemaModelViewerControllerBaseInternal.ArePathsEqual 方法
比較兩個結構描述檢視節點的路徑,判斷它們是否相等。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Public Shared Function ArePathsEqual ( _
nodes1 As IList(Of ISchemaModelViewerNode), _
nodes2 As IList(Of ISchemaModelViewerNode) _
) As Boolean
public static bool ArePathsEqual(
IList<ISchemaModelViewerNode> nodes1,
IList<ISchemaModelViewerNode> nodes2
)
public:
static bool ArePathsEqual(
IList<ISchemaModelViewerNode^>^ nodes1,
IList<ISchemaModelViewerNode^>^ nodes2
)
static member ArePathsEqual :
nodes1:IList<ISchemaModelViewerNode> *
nodes2:IList<ISchemaModelViewerNode> -> bool
public static function ArePathsEqual(
nodes1 : IList<ISchemaModelViewerNode>,
nodes2 : IList<ISchemaModelViewerNode>
) : boolean
參數
- nodes1
型別:System.Collections.Generic.IList<ISchemaModelViewerNode>
第一個路徑。
- nodes2
型別:System.Collections.Generic.IList<ISchemaModelViewerNode>
第二個路徑。
傳回值
型別:System.Boolean
如果相等則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
SchemaModelViewerControllerBaseInternal 類別
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間