IVsComponentModelHost.QueryLoadComponentAssemblies(UInt32, String[], Boolean[]) Methode

Definition

Ermöglicht dem Host, die Assembly zu filtern, die in einem Katalog enthalten sind.

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

Parameter

cAssemblies
UInt32

in Die Anzahl der Assemblys im prgAssemblyPaths Array.

prgAssemblyPaths
String[]

[in] Die zu filternden Assemblys.

rgCanLoad
Boolean[]

[out] Die aufzunehmenden Assemblys.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Gilt für