Share via


IVsComponentModelHost.QueryLoadComponentAssemblies Method

Definition

Allows the host to filter the assemblies that are included in a catalog.

public:
 int QueryLoadComponentAssemblies(System::UInt32 cAssemblies, cli::array <System::String ^> ^ prgAssemblyPaths, cli::array <bool> ^ rgCanLoad);
public:
 int QueryLoadComponentAssemblies(unsigned int cAssemblies, Platform::Array <Platform::String ^> ^ prgAssemblyPaths, Platform::Array <bool> ^ rgCanLoad);
int QueryLoadComponentAssemblies(unsigned int cAssemblies, std::Array <std::wstring const &> const & prgAssemblyPaths, std::Array <bool> const & rgCanLoad);
public int QueryLoadComponentAssemblies (uint cAssemblies, string[] prgAssemblyPaths, bool[] rgCanLoad);
abstract member QueryLoadComponentAssemblies : uint32 * string[] * bool[] -> int
Public Function QueryLoadComponentAssemblies (cAssemblies As UInteger, prgAssemblyPaths As String(), rgCanLoad As Boolean()) As Integer

Parameters

cAssemblies
UInt32

[in] The number of assemblies in the prgAssemblyPaths array.

prgAssemblyPaths
String[]

[in] The assemblies to filter.

rgCanLoad
Boolean[]

[out] The assemblies to be included.

Returns

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

Applies to