共用方式為


IVsDataExplorerChildNodeCollection.Find 方法 (String, array<Object[])

擷取連接節點具有指定型別名稱和識別項對應。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Function Find ( _
    typeName As String, _
    identifier As Object() _
) As IVsDataExplorerNode
IVsDataExplorerNode Find(
    string typeName,
    Object[] identifier
)
IVsDataExplorerNode^ Find(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract Find : 
        typeName:string * 
        identifier:Object[] -> IVsDataExplorerNode
function Find(
    typeName : String, 
    identifier : Object[]
) : IVsDataExplorerNode

參數

  • typeName
    類型:String

    要求的資料物件的型別名稱。

  • identifier
    類型:array<Object[]

    陣列可唯一識別要求的資料物件的識別組件。

傳回值

類型:Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
IVsDataExplorerNode 物件表示在伺服器總管中連接節點或 nullnull 參考 (即 Visual Basic 中的 Nothing) ,如果找不到節點。

例外狀況

例外狀況 條件
ArgumentNullException

typeName 或 identifier 參數為 nullnull 參考 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

IVsDataExplorerChildNodeCollection 介面

Find 多載

Microsoft.VisualStudio.Data.Services 命名空間