IVsDataViewDocumentProvider.FindNode(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当由类实现时,在数据视图中搜索与指定的文档名字对象相对应的节点。 还可以搜索尚未展开的子节点。
public:
int FindNode(System::String ^ documentMoniker, bool searchUnpopulatedChildren);
public int FindNode (string documentMoniker, bool searchUnpopulatedChildren);
abstract member FindNode : string * bool -> int
Public Function FindNode (documentMoniker As String, searchUnpopulatedChildren As Boolean) As Integer
参数
- documentMoniker
- String
文档名字对象。
- searchUnpopulatedChildren
- Boolean
指定是否搜索尚未展开 () 的子节点,或者是否 (错误) 。
返回
标识数据视图中指定节点的整数值; 如果找不到该节点,则为-1。