IVsLibrary2.CreateNavInfo Method
Reserved for future use.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function CreateNavInfo ( _
rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), _
ulcNodes As UInteger, _
<OutAttribute> ByRef ppNavInfo As IVsNavInfo _
) As Integer
'使用
Dim instance As IVsLibrary2
Dim rgSymbolNodes As SYMBOL_DESCRIPTION_NODE()
Dim ulcNodes As UInteger
Dim ppNavInfo As IVsNavInfo
Dim returnValue As Integer
returnValue = instance.CreateNavInfo(rgSymbolNodes, _
ulcNodes, ppNavInfo)
int CreateNavInfo(
SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes,
uint ulcNodes,
out IVsNavInfo ppNavInfo
)
int CreateNavInfo(
[InAttribute] array<SYMBOL_DESCRIPTION_NODE>^ rgSymbolNodes,
[InAttribute] unsigned int ulcNodes,
[OutAttribute] IVsNavInfo^% ppNavInfo
)
function CreateNavInfo(
rgSymbolNodes : SYMBOL_DESCRIPTION_NODE[],
ulcNodes : uint,
ppNavInfo : IVsNavInfo
) : int
Parameters
rgSymbolNodes
Type: [][in] An array of SYMBOL_DESCRIPTION_NODE objects describing each node in the tree.
ulcNodes
Type: System.UInt32[in] The number of objects in the rgSymbolNodes array.
ppNavInfo
Type: Microsoft.VisualStudio.Shell.Interop.IVsNavInfo%[out] Returns an IVsNavInfo object representing the navigation information for all nodes in the 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:
HRESULT IVsLibrary2::CreateNavInfo(
[in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],
[in] ULONG ulcNodes,
[out] IVsNavInfo ** ppNavInfo
);
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.