IVsComponentModelHost.QueryLoadComponentAssemblies(UInt32, String[], Boolean[]) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.