IVsLibrary2Ex.GetNavInfoContainerData 方法

定义

获取有关由接口指定的对象的容器的信息 IVsNavInfo

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

参数

pNavInfo
IVsNavInfo

中指向 IVsNavInfo 所包含对象的接口的指针。

pcsdComponent
VSCOMPONENTSELECTORDATA[]

弄指向的指针,该指针 VSCOMPONENTSELECTORDATA 提供有关容器的信息。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

HRESULT IVsLibrary2Ex::GetNavInfoContainerData(  
   [in] IVsNavInfo * pNavInfo,   
   [out] VSCOMPONENTSELECTORDATA * pcsdComponent  
);  

适用于