Поделиться через


IVsLibrary2Ex.GetNavInfoContainerData Method

Gets information about the container of an object specified by an IVsNavInfo interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetNavInfoContainerData ( _
    pNavInfo As IVsNavInfo, _
    <OutAttribute> pcsdComponent As VSCOMPONENTSELECTORDATA() _
) As Integer
int GetNavInfoContainerData(
    IVsNavInfo pNavInfo,
    VSCOMPONENTSELECTORDATA[] pcsdComponent
)
int GetNavInfoContainerData(
    [InAttribute] IVsNavInfo^ pNavInfo, 
    [OutAttribute] array<VSCOMPONENTSELECTORDATA>^ pcsdComponent
)
abstract GetNavInfoContainerData : 
        pNavInfo:IVsNavInfo * 
        pcsdComponent:VSCOMPONENTSELECTORDATA[] byref -> int 
function GetNavInfoContainerData(
    pNavInfo : IVsNavInfo, 
    pcsdComponent : VSCOMPONENTSELECTORDATA[]
) : int

Parameters

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 IVsLibrary2Ex::GetNavInfoContainerData(
   [in] IVsNavInfo * pNavInfo, 
   [out] VSCOMPONENTSELECTORDATA * pcsdComponent
);

.NET Framework Security

See Also

Reference

IVsLibrary2Ex Interface

Microsoft.VisualStudio.Shell.Interop Namespace