Freigeben über


DataViewDocumentProvider.FindNode(String, Boolean) Method

Definition

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:
 virtual int FindNode(System::String ^ documentMoniker, bool searchUnpopulatedChildren);
public virtual int FindNode (string documentMoniker, bool searchUnpopulatedChildren);
abstract member FindNode : string * bool -> int
override this.FindNode : string * bool -> int
Public Overridable 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 node is not found.

Implements

Applies to