IVsProfileSettingsTree.GetChild Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets 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 GetChild ( _
index As Integer, _
<OutAttribute> ByRef ppChildTree As IVsProfileSettingsTree _
) As Integer
'使用
Dim instance As IVsProfileSettingsTree
Dim index As Integer
Dim ppChildTree As IVsProfileSettingsTree
Dim returnValue As Integer
returnValue = instance.GetChild(index, _
ppChildTree)
int GetChild(
int index,
out IVsProfileSettingsTree ppChildTree
)
int GetChild(
[InAttribute] int index,
[OutAttribute] IVsProfileSettingsTree^% ppChildTree
)
function GetChild(
index : int,
ppChildTree : IVsProfileSettingsTree
) : int
Parameters
index
Type: System.Int32[out] The location of the child tree.
ppChildTree
Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree%[out] A 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 IVsProfileSettingsTree::GetChild(
[in] int index,
[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