Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- pNavInfo
Type: Microsoft.VisualStudio.Shell.Interop.IVsNavInfo
[in] Pointer to an IVsNavInfo interface of the contained object.
- pcsdComponent
Type: array<Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[]
[out] Pointer to a VSCOMPONENTSELECTORDATA providing information about the container.
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
- 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.