IVsDataExplorerChildNodeCollection.Find Method (String, [])

Retrieves a connection node corresponding to the specified type name and identifiers.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function Find ( _
    typeName As String, _
    identifier As Object() _
) As IVsDataExplorerNode
'使用
Dim instance As IVsDataExplorerChildNodeCollection
Dim typeName As String
Dim identifier As Object()
Dim returnValue As IVsDataExplorerNode

returnValue = instance.Find(typeName, _
    identifier)
IVsDataExplorerNode Find(
    string typeName,
    Object[] identifier
)
IVsDataExplorerNode^ Find(
    String^ typeName, 
    array<Object^>^ identifier
)
function Find(
    typeName : String, 
    identifier : Object[]
) : IVsDataExplorerNode

Parameters

  • typeName
    Type: System.String

    The name of the requested data object's type.

  • identifier
    Type: []

    An array of identifier parts that uniquely identify the requested data object.

Return Value

Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode

An IVsDataExplorerNode object representing the connection node in Server Explorer, or a null reference (Nothing in Visual Basic) if the node is not found.

Exceptions

Exception Condition
ArgumentNullException

The typeName or identifier parameter is a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

IVsDataExplorerChildNodeCollection Members

Find Overload

Microsoft.VisualStudio.Data.Services Namespace