IVsDataViewDocumentProvider.FindNode 方法

当实现由选件类,搜索用对应于指定的文档标记的数据的节点查看。或者,搜索未展开的子节点。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
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

参数

  • searchUnpopulatedChildren
    类型:System.Boolean
    指定是否搜索未展开的子节点(true),(false)。

返回值

类型:System.Int32
标识数据视图中指定节点的整数值或-1;如果未找到节点。

.NET Framework 安全性

请参见

参考

IVsDataViewDocumentProvider 接口

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间