当实现由选件类,搜索用对应于指定的文档标记的数据的节点查看。或者,搜索未展开的子节点。
命名空间: 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
参数
- documentMoniker
类型:System.String
文档标记。
- searchUnpopulatedChildren
类型:System.Boolean
指定是否搜索未展开的子节点(true),(false)。
返回值
类型:System.Int32
标识数据视图中指定节点的整数值或-1;如果未找到节点。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。