Método RegistrationServices.TypeRepresentsComType (Type)
Publicado: octubre de 2016
Indica si un tipo se marca con el ComImportAttribute, o se deriva de un tipo marcado con el ComImportAttribute y comparte el mismo GUID que el elemento primario.
Espacio de nombres: System.Runtime.InteropServices
Ensamblado: mscorlib (en mscorlib.dll)
Sintaxis
public virtual bool TypeRepresentsComType(
Type type
)
public:
virtual bool TypeRepresentsComType(
Type^ type
)
abstract TypeRepresentsComType :
type:Type -> bool
override TypeRepresentsComType :
type:Type -> bool
Public Overridable Function TypeRepresentsComType (
type As Type
) As Boolean
Parámetros
type
Type: System.TypeEl tipo para comprobar que es un tipo COM.
Valor devuelto
Type: System.Boolean
true Si un tipo se marca con el ComImportAttribute, o se deriva de un tipo marcado con el ComImportAttribute y comparte el mismo GUID que el elemento primario; en caso contrario false.
Implementa
IRegistrationServices.TypeRepresentsComType(Type)
Información de versión
.NET Framework
Disponible desde 1.1
Ver también
Clase RegistrationServices
Espacio de nombres System.Runtime.InteropServices
Volver al principio