IVsComponentModelHost.QueryLoadComponentAssemblies Method

Filters which assemblies are made a part of a catalog.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaración
Function QueryLoadComponentAssemblies ( _
    cAssemblies As UInteger, _
    prgAssemblyPaths As String(), _
    <OutAttribute> rgCanLoad As Boolean() _
) As Integer
'Uso
Dim instance As IVsComponentModelHost
Dim cAssemblies As UInteger
Dim prgAssemblyPaths As String()
Dim rgCanLoad As Boolean()
Dim returnValue As Integer

returnValue = instance.QueryLoadComponentAssemblies(cAssemblies, _
    prgAssemblyPaths, rgCanLoad)
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] An array of BSTRs indicating the assemblies to filter.
  • rgCanLoad
    Type: array<System.Boolean[]
    [out] An array of Boolean values indicating which assemblies can be included.

Return Value

Type: System.Int32
Returns S_OK if the array of Booleans is set.

Remarks

Hosts should implement this method to control which assemblies to include in catalogs.

.NET Framework Security

See Also

Reference

IVsComponentModelHost Interface

IVsComponentModelHost Members

Microsoft.VisualStudio.Shell.Interop Namespace