IVsComponentModelHost.GetComponentAssemblies Method

Gets the component assemblies discovered.

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

Syntax

'Declaration
Function GetComponentAssemblies ( _
    cAssemblies As UInteger, _
    <OutAttribute> rgbstrAssemblyPaths As String(), _
    <OutAttribute> ByRef pcActualAssemblies As UInteger _
) As Integer
int GetComponentAssemblies(
    uint cAssemblies,
    string[] rgbstrAssemblyPaths,
    out uint pcActualAssemblies
)
int GetComponentAssemblies(
    [InAttribute] unsigned int cAssemblies, 
    [OutAttribute] array<String^>^ rgbstrAssemblyPaths, 
    [OutAttribute] unsigned int% pcActualAssemblies
)
abstract GetComponentAssemblies : 
        cAssemblies:uint32 * 
        rgbstrAssemblyPaths:string[] byref * 
        pcActualAssemblies:uint32 byref -> int 
function GetComponentAssemblies(
    cAssemblies : uint, 
    rgbstrAssemblyPaths : String[], 
    pcActualAssemblies : uint
) : int

Parameters

  • cAssemblies
    Type: System.UInt32
    [in] The size of the rgbstrAssemblyPaths array.
  • rgbstrAssemblyPaths
    Type: array<System.String[]
    [out] The assembly paths. The size of the array is given in cAssemblies. This array is not updated if the number of assemblies discovered is greater than cAssemblies.
  • pcActualAssemblies
    Type: System.UInt32%
    [out] The number of assemblies discovered.

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