IVsComponentModelHost.GetComponentAssemblies Method

Returns 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

'Declaración
Function GetComponentAssemblies ( _
    cAssemblies As UInteger, _
    <OutAttribute> rgbstrAssemblyPaths As String(), _
    <OutAttribute> ByRef pcActualAssemblies As UInteger _
) As Integer
'Uso
Dim instance As IVsComponentModelHost
Dim cAssemblies As UInteger
Dim rgbstrAssemblyPaths As String()
Dim pcActualAssemblies As UInteger
Dim returnValue As Integer

returnValue = instance.GetComponentAssemblies(cAssemblies, _
    rgbstrAssemblyPaths, pcActualAssemblies)
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] An array of BSTRs where the function will put 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] Pointer to an integer where the function places the number of assemblies discovered.

Return Value

Type: System.Int32
Returns S_OK if the assembly paths are returned.

.NET Framework Security

See Also

Reference

IVsComponentModelHost Interface

IVsComponentModelHost Members

Microsoft.VisualStudio.Shell.Interop Namespace