IVsLibrary2Ex.GetNavInfoContainerData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取有关由接口指定的对象的容器的信息 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 提供有关容器的信息。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsLibrary2Ex::GetNavInfoContainerData(
[in] IVsNavInfo * pNavInfo,
[out] VSCOMPONENTSELECTORDATA * pcsdComponent
);