次の方法で共有


IVsSimpleObjectList2.LocateNavInfoNode 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 LocateNavInfoNode ( _
    pNavInfoNode As IVsNavInfoNode, _
    <OutAttribute> ByRef pulIndex As UInteger _
) As Integer
'使用
Dim instance As IVsSimpleObjectList2
Dim pNavInfoNode As IVsNavInfoNode
Dim pulIndex As UInteger
Dim returnValue As Integer

returnValue = instance.LocateNavInfoNode(pNavInfoNode, _
    pulIndex)
int LocateNavInfoNode(
    IVsNavInfoNode pNavInfoNode,
    out uint pulIndex
)
int LocateNavInfoNode(
    [InAttribute] IVsNavInfoNode^ pNavInfoNode, 
    [OutAttribute] unsigned int% pulIndex
)
abstract LocateNavInfoNode : 
        pNavInfoNode:IVsNavInfoNode * 
        pulIndex:uint32 byref -> int 
function LocateNavInfoNode(
    pNavInfoNode : IVsNavInfoNode, 
    pulIndex : uint
) : int

Parameters

  • pulIndex
    Type: System.UInt32%
    [out] Returns the index of the list item that corresponds to the specified navigation node.

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::LocateNavInfoNode(
   [in]  IVsNavInfoNode *pNavInfoNode, 
   [out] ULONG          *pulIndex
);

.NET Framework Security

See Also

Reference

IVsSimpleObjectList2 Interface

IVsSimpleObjectList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace