Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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
- 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.