Share via


IVsDataViewDocumentProvider.FindNode(String, Boolean) Method

Definition

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.

public:
 int FindNode(System::String ^ documentMoniker, bool searchUnpopulatedChildren);
public int FindNode (string documentMoniker, bool searchUnpopulatedChildren);
abstract member FindNode : string * bool -> int
Public Function FindNode (documentMoniker As String, searchUnpopulatedChildren As Boolean) As Integer

Parameters

documentMoniker
String

A document moniker.

searchUnpopulatedChildren
Boolean

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

Returns

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

Applies to