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
'宣言
Function GetNavInfoContainerData ( _
pNavInfo As IVsNavInfo, _
<OutAttribute> pcsdComponent As VSCOMPONENTSELECTORDATA() _
) As Integer
'使用
Dim instance As IVsLibrary2Ex
Dim pNavInfo As IVsNavInfo
Dim pcsdComponent As VSCOMPONENTSELECTORDATA()
Dim returnValue As Integer
returnValue = instance.GetNavInfoContainerData(pNavInfo, _
pcsdComponent)
int GetNavInfoContainerData(
IVsNavInfo pNavInfo,
VSCOMPONENTSELECTORDATA[] pcsdComponent
)
int GetNavInfoContainerData(
[InAttribute] IVsNavInfo^ pNavInfo,
[OutAttribute] array<VSCOMPONENTSELECTORDATA>^ pcsdComponent
)
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: [][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
);
Permissions
- 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.