IVsProfileSettingsTree.FindChildTree Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Finds a child tree.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function FindChildTree ( _
bstrNameSearch As String, _
<OutAttribute> ByRef ppChildTree As IVsProfileSettingsTree _
) As Integer
'使用
Dim instance As IVsProfileSettingsTree
Dim bstrNameSearch As String
Dim ppChildTree As IVsProfileSettingsTree
Dim returnValue As Integer
returnValue = instance.FindChildTree(bstrNameSearch, _
ppChildTree)
int FindChildTree(
string bstrNameSearch,
out IVsProfileSettingsTree ppChildTree
)
int FindChildTree(
[InAttribute] String^ bstrNameSearch,
[OutAttribute] IVsProfileSettingsTree^% ppChildTree
)
function FindChildTree(
bstrNameSearch : String,
ppChildTree : IVsProfileSettingsTree
) : int
Parameters
bstrNameSearch
Type: System.String[in] The name of the tree to find.
ppChildTree
Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree%[out] An IVsProfileSettingsTree interface to the child tree.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT FindChildTree(
[in] BSTR bstrNameSearch,
[out] IVsProfileSettingsTree **ppChildTree
);
Permissions
- 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
IVsProfileSettingsTree Interface