Método TypeLibConverter.GetPrimaryInteropAssembly (Guid, Int32, Int32, Int32, String, String)
Publicado: octubre de 2016
Obtiene el nombre y el código base de un ensamblado de interoperabilidad primario para una biblioteca de tipos especificada.
Espacio de nombres: System.Runtime.InteropServices
Ensamblado: mscorlib (en mscorlib.dll)
Sintaxis
public bool GetPrimaryInteropAssembly(
Guid g,
int major,
int minor,
int lcid,
out string asmName,
out string asmCodeBase
)
public:
virtual bool GetPrimaryInteropAssembly(
Guid g,
int major,
int minor,
int lcid,
[OutAttribute] String^% asmName,
[OutAttribute] String^% asmCodeBase
) sealed
abstract GetPrimaryInteropAssembly :
g:Guid *
major:int *
minor:int *
lcid:int *
asmName:string byref *
asmCodeBase:string byref -> bool
override GetPrimaryInteropAssembly :
g:Guid *
major:int *
minor:int *
lcid:int *
asmName:string byref *
asmCodeBase:string byref -> bool
Public Function GetPrimaryInteropAssembly (
g As Guid,
major As Integer,
minor As Integer,
lcid As Integer,
<OutAttribute> ByRef asmName As String,
<OutAttribute> ByRef asmCodeBase As String
) As Boolean
Parámetros
g
Type: System.GuidEl GUID de la biblioteca de tipos.
major
Type: System.Int32El número de versión principal de la biblioteca de tipos.
minor
Type: System.Int32El número de versión secundaria de la biblioteca de tipos.
lcid
Type: System.Int32LCID de la biblioteca de tipos.
asmName
Type: System.StringEn la devolución es correcta, el nombre del ensamblado de interoperabilidad primario asociado con g.
asmCodeBase
Type: System.StringEn la devolución es correcta, el código base del ensamblado de interoperabilidad primario asociado a g.
Valor devuelto
Type: System.Boolean
true Si no se encuentra el ensamblado de interoperabilidad primario en el registro; de lo contrario, false.
Implementa
ITypeLibConverter.GetPrimaryInteropAssembly(Guid, Int32, Int32, Int32, String, String)
Información de versión
.NET Framework
Disponible desde 1.1
Ver también
Clase TypeLibConverter
Espacio de nombres System.Runtime.InteropServices
Volver al principio