Share via


IVsComponentModelHost.GetComponentAssemblies(UInt32, String[], UInt32) Method

Definition

Gets the component assemblies discovered.

public:
 int GetComponentAssemblies(System::UInt32 cAssemblies, cli::array <System::String ^> ^ rgbstrAssemblyPaths, [Runtime::InteropServices::Out] System::UInt32 % pcActualAssemblies);
int GetComponentAssemblies(unsigned int cAssemblies, std::Array <std::wstring const &> const & rgbstrAssemblyPaths, [Runtime::InteropServices::Out] unsigned int & pcActualAssemblies);
public int GetComponentAssemblies (uint cAssemblies, string[] rgbstrAssemblyPaths, out uint pcActualAssemblies);
abstract member GetComponentAssemblies : uint32 * string[] * uint32 -> int
Public Function GetComponentAssemblies (cAssemblies As UInteger, rgbstrAssemblyPaths As String(), ByRef pcActualAssemblies As UInteger) As Integer

Parameters

cAssemblies
UInt32

[in] The size of the rgbstrAssemblyPaths array.

rgbstrAssemblyPaths
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
UInt32

[out] The number of assemblies discovered.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to