Share via


IVsLibrary2Ex.GetNavInfoContainerData Method

Definition

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

public:
 int GetNavInfoContainerData(Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ pNavInfo, cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pcsdComponent);
int GetNavInfoContainerData(Microsoft::VisualStudio::Shell::Interop::IVsNavInfo const & pNavInfo, std::Array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> const & pcsdComponent);
public int GetNavInfoContainerData (Microsoft.VisualStudio.Shell.Interop.IVsNavInfo pNavInfo, Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pcsdComponent);
abstract member GetNavInfoContainerData : Microsoft.VisualStudio.Shell.Interop.IVsNavInfo * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] -> int
Public Function GetNavInfoContainerData (pNavInfo As IVsNavInfo, pcsdComponent As VSCOMPONENTSELECTORDATA()) As Integer

Parameters

pNavInfo
IVsNavInfo

[in] Pointer to an IVsNavInfo interface of the contained object.

pcsdComponent
VSCOMPONENTSELECTORDATA[]

[out] Pointer to a VSCOMPONENTSELECTORDATA providing information about the container.

Returns

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  
);  

Applies to