IVsComponentModelHost.QueryLoadComponentAssemblies Method
Allows the host to filter the assemblies that are included in a catalog.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function QueryLoadComponentAssemblies ( _
cAssemblies As UInteger, _
prgAssemblyPaths As String(), _
<OutAttribute> rgCanLoad As Boolean() _
) As Integer
int QueryLoadComponentAssemblies(
uint cAssemblies,
string[] prgAssemblyPaths,
bool[] rgCanLoad
)
int QueryLoadComponentAssemblies(
[InAttribute] unsigned int cAssemblies,
[InAttribute] array<String^>^ prgAssemblyPaths,
[OutAttribute] array<bool>^ rgCanLoad
)
abstract QueryLoadComponentAssemblies :
cAssemblies:uint32 *
prgAssemblyPaths:string[] *
rgCanLoad:bool[] byref -> int
function QueryLoadComponentAssemblies(
cAssemblies : uint,
prgAssemblyPaths : String[],
rgCanLoad : boolean[]
) : int
Parameters
cAssemblies
Type: UInt32[in] The number of assemblies in the prgAssemblyPaths array.
prgAssemblyPaths
Type: array<String[][in] The assemblies to filter.
rgCanLoad
Type: array<Boolean[][out] The assemblies to be included.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.