Bagikan melalui


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: 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