IVsDataViewDocumentProvider.FindNode 方法
當由類別實作時,搜尋會對應至指定的文件 Moniker 的資料之節點來檢視。 或者,未展開的搜尋子節點。
命名空間: 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
類型:String文件 Moniker。
searchUnpopulatedChildren
類型:Boolean指定是否搜尋未展開的子節點 (true),false()。
傳回值
類型:Int32
識別資料檢視中的指定之節點的整數值,或-1 (如果找不到節點。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。