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: UInt32[in] The size of the rgbstrAssemblyPaths array.
rgbstrAssemblyPaths
Type: array<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: UInt32%[out] The number of assemblies discovered.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.