共用方式為


IVsSimpleObjectList2.GetNavInfo 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 GetNavInfo ( _
    index As UInteger, _
    <OutAttribute> ByRef ppNavInfo As IVsNavInfo _
) As Integer
'用途
Dim instance As IVsSimpleObjectList2
Dim index As UInteger
Dim ppNavInfo As IVsNavInfo
Dim returnValue As Integer

returnValue = instance.GetNavInfo(index, _
    ppNavInfo)
int GetNavInfo(
    uint index,
    out IVsNavInfo ppNavInfo
)
int GetNavInfo(
    [InAttribute] unsigned int index, 
    [OutAttribute] IVsNavInfo^% ppNavInfo
)
abstract GetNavInfo : 
        index:uint32 * 
        ppNavInfo:IVsNavInfo byref -> int 
function GetNavInfo(
    index : uint, 
    ppNavInfo : IVsNavInfo
) : int

Parameters

  • index
    Type: System.UInt32
    [in] The index of the item for which to get navigation information.

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 IVsSimpleObjectList2::GetNavInfo(
   [in]  ULONG        Index, 
   [out] IVsNavInfo **ppNavInfo
);

.NET Framework Security

See Also

Reference

IVsSimpleObjectList2 Interface

IVsSimpleObjectList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace