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
'Usage
Dim instance As IVsDataViewDocumentProvider
Dim documentMoniker As String
Dim searchUnpopulatedChildren As Boolean
Dim returnValue As Integer
returnValue = instance.FindNode(documentMoniker, _
searchUnpopulatedChildren)
int FindNode(
string documentMoniker,
bool searchUnpopulatedChildren
)
int FindNode(
String^ documentMoniker,
bool searchUnpopulatedChildren
)
function FindNode(
documentMoniker : String,
searchUnpopulatedChildren : boolean
) : int
Parameters
documentMoniker
Type: System.StringA document moniker.
searchUnpopulatedChildren
Type: System.BooleanSpecifies 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
IVsDataViewDocumentProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace