Share via


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

int QueryLoadComponentAssemblies(
    uint cAssemblies,
    string[] prgAssemblyPaths,
    bool[] rgCanLoad
)

Parameters

  • cAssemblies
    Type: System.UInt32

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

  • prgAssemblyPaths
    Type: array<System.String[]

    [in] The assemblies to filter.

  • rgCanLoad
    Type: array<System.Boolean[]

    [out] The assemblies to be included.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsComponentModelHost Interface

Microsoft.VisualStudio.Shell.Interop Namespace