IVsBrowseComponentSet.CreateNavInfo Method
Creates IVsNavInfo for a symbol defined in the rgSymbolNodes array of symbols.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function CreateNavInfo ( _
ByRef guidLib As Guid, _
rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), _
ulcNodes As UInteger, _
<OutAttribute> ByRef ppNavInfo As IVsNavInfo _
) As Integer
'用途
Dim instance As IVsBrowseComponentSet
Dim guidLib As Guid
Dim rgSymbolNodes As SYMBOL_DESCRIPTION_NODE()
Dim ulcNodes As UInteger
Dim ppNavInfo As IVsNavInfo
Dim returnValue As Integer
returnValue = instance.CreateNavInfo(guidLib, _
rgSymbolNodes, ulcNodes, ppNavInfo)
int CreateNavInfo(
ref Guid guidLib,
SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes,
uint ulcNodes,
out IVsNavInfo ppNavInfo
)
int CreateNavInfo(
[InAttribute] Guid% guidLib,
[InAttribute] array<SYMBOL_DESCRIPTION_NODE>^ rgSymbolNodes,
[InAttribute] unsigned int ulcNodes,
[OutAttribute] IVsNavInfo^% ppNavInfo
)
abstract CreateNavInfo :
guidLib:Guid byref *
rgSymbolNodes:SYMBOL_DESCRIPTION_NODE[] *
ulcNodes:uint32 *
ppNavInfo:IVsNavInfo byref -> int
function CreateNavInfo(
guidLib : Guid,
rgSymbolNodes : SYMBOL_DESCRIPTION_NODE[],
ulcNodes : uint,
ppNavInfo : IVsNavInfo
) : int
Parameters
- guidLib
Type: System.Guid%
[in]The Guid that identifies the registered library. For more information, see vsshell80.idl, VS Browse Libraries.
- rgSymbolNodes
Type: array<Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[]
[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%
The IVsNavInfo that represents the navigation information of a symbol in the hierarchical tree of symbols.
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 CreateNavInfo(
[in] REFGUID guidLib,
[in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],
[in] ULONG ulcNodes,
[out, retval] IVsNavInfo ** ppNavInfo
);
.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.