Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Adds an additional root UI hierarchy node to the list managed by the UI hierarchy window.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function AddUIHierarchy ( _
pUIH As IVsUIHierarchy, _
grfAddOptions As UInteger _
) As Integer
int AddUIHierarchy(
IVsUIHierarchy pUIH,
uint grfAddOptions
)
int AddUIHierarchy(
[InAttribute] IVsUIHierarchy^ pUIH,
[InAttribute] unsigned int grfAddOptions
)
abstract AddUIHierarchy :
pUIH:IVsUIHierarchy *
grfAddOptions:uint32 -> int
function AddUIHierarchy(
pUIH : IVsUIHierarchy,
grfAddOptions : uint
) : int
Parameters
- pUIH
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
[in] IVsUIHierarchy to add.
- grfAddOptions
Type: System.UInt32
[in] Sets selection behavior in the hierarchy window when a new hierarchy is added. For a list of grfAddOptions values, see __VSADDHIEROPTIONS.
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 vsshell.idl:
HRESULT IVsUIHierarchyWindow::AddUIHierarchy(
[in] IVsUIHierarchy* pUIH,
[in] VSADDHIEROPTIONS grfAddOptions
);
Root nodes added using this method are removed by calling RemoveUIHierarchy.
.NET Framework Security
- 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.