Partager via


IVsDataViewDocumentProvider.FindNode Method

When implemented by a class, searches for a node in the data view that corresponds to the specified document moniker. Optionally, searches child nodes that have not been expanded yet.

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

Syntax

'Declaration
Function FindNode ( _
    documentMoniker As String, _
    searchUnpopulatedChildren As Boolean _
) As Integer
int FindNode(
    string documentMoniker,
    bool searchUnpopulatedChildren
)
int FindNode(
    String^ documentMoniker, 
    bool searchUnpopulatedChildren
)
abstract FindNode : 
        documentMoniker:string * 
        searchUnpopulatedChildren:bool -> int
function FindNode(
    documentMoniker : String, 
    searchUnpopulatedChildren : boolean
) : int

Parameters

  • searchUnpopulatedChildren
    Type: System.Boolean

    Specifies whether to search child nodes that have not been expanded yet (true), or not (false).

Return Value

Type: System.Int32
An integer value that identifies the specified node in the data view, or -1 if the node is not found.

.NET Framework Security

See Also

Reference

IVsDataViewDocumentProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace