次の方法で共有


IVsLibrary2Ex.SetContainerAsUnchanging Method

Definition

Gives the library a suggestion that the physical is unchanging.

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

Parameters

pcsdComponent
VSCOMPONENTSELECTORDATA[]

[in] Pointer to the VSCOMPONENTSELECTORDATA of the container.

fUnchanging
Int32

[in] Boolean. Set to true to indicate the container is unchanging.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to