IVsLibrary2Ex.SetContainerAsUnchanging 方法

定义

为库提供物理不变的建议。

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

参数

pcsdComponent
VSCOMPONENTSELECTORDATA[]

中指向容器的的指针 VSCOMPONENTSELECTORDATA

fUnchanging
Int32

中变量. 设置为 true 可指示容器不变。

返回

Int32

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

适用于