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
- documentMoniker
Type: System.String
A document moniker.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewDocumentProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace