_Type Interface

Definition

Important

This API is not CLS-compliant.

Exposes the public members of the Type class to the unmanaged code.

public interface class _Type
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Type
type _Type = interface
Public Interface _Type
Derived
Attributes

Remarks

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

This interface preserves the vtable order of the System.Type class members that can be accessed by unmanaged COM objects.

Properties

Assembly

Provides COM objects with version-independent access to the Assembly property.

AssemblyQualifiedName

Provides COM objects with version-independent access to the AssemblyQualifiedName property.

Attributes

Provides COM objects with version-independent access to the Attributes property.

BaseType

Provides COM objects with version-independent access to the BaseType property.

DeclaringType

Provides COM objects with version-independent access to the DeclaringType property.

FullName

Provides COM objects with version-independent access to the FullName property.

GUID

Provides COM objects with version-independent access to the GUID property.

HasElementType

Provides COM objects with version-independent access to the HasElementType property.

IsAbstract

Provides COM objects with version-independent access to the IsAbstract property.

IsAnsiClass

Provides COM objects with version-independent access to the IsAnsiClass property.

IsArray

Provides COM objects with version-independent access to the IsArray property.

IsAutoClass

Provides COM objects with version-independent access to the IsAutoClass property.

IsAutoLayout

Provides COM objects with version-independent access to the IsAutoLayout property.

IsByRef

Provides COM objects with version-independent access to the IsByRef property.

IsClass

Provides COM objects with version-independent access to the IsClass property.

IsCOMObject

Provides COM objects with version-independent access to the IsCOMObject property.

IsContextful

Provides COM objects with version-independent access to the IsContextful property.

IsEnum

Provides COM objects with version-independent access to the IsEnum property.

IsExplicitLayout

Provides COM objects with version-independent access to the IsExplicitLayout property.

IsImport

Provides COM objects with version-independent access to the IsImport property.

IsInterface

Provides COM objects with version-independent access to the IsInterface property.

IsLayoutSequential

Provides COM objects with version-independent access to the IsLayoutSequential property.

IsMarshalByRef

Provides COM objects with version-independent access to the IsMarshalByRef property.

IsNestedAssembly

Provides COM objects with version-independent access to the IsNestedAssembly property.

IsNestedFamANDAssem

Provides COM objects with version-independent access to the IsNestedFamANDAssem property.

IsNestedFamily

Provides COM objects with version-independent access to the IsNestedFamily property.

IsNestedFamORAssem

Provides COM objects with version-independent access to the IsNestedFamORAssem property.

IsNestedPrivate

Provides COM objects with version-independent access to the IsNestedPrivate property.

IsNestedPublic

Provides COM objects with version-independent access to the IsNestedPublic property.

IsNotPublic

Provides COM objects with version-independent access to the IsNotPublic property.

IsPointer

Provides COM objects with version-independent access to the IsPointer property.

IsPrimitive

Provides COM objects with version-independent access to the IsPrimitive property.

IsPublic

Provides COM objects with version-independent access to the IsPublic property.

IsSealed

Provides COM objects with version-independent access to the IsSealed property.

IsSerializable

Provides COM objects with version-independent access to the IsSerializable property.

IsSpecialName

Provides COM objects with version-independent access to the IsSpecialName property.

IsUnicodeClass

Provides COM objects with version-independent access to the IsUnicodeClass property.

IsValueType

Provides COM objects with version-independent access to the IsValueType property.

MemberType

Provides COM objects with version-independent access to the MemberType property.

Module

Provides COM objects with version-independent access to the Module property.

Name

Provides COM objects with version-independent access to the Name property.

Namespace

Provides COM objects with version-independent access to the Namespace property.

ReflectedType

Provides COM objects with version-independent access to the ReflectedType property.

TypeHandle

Provides COM objects with version-independent access to the TypeHandle property.

TypeInitializer

Provides COM objects with version-independent access to the TypeInitializer property.

UnderlyingSystemType

Provides COM objects with version-independent access to the UnderlyingSystemType property.

Methods

Equals(Object)

Provides COM objects with version-independent access to the Equals(Object) method.

Equals(Type)

Provides COM objects with version-independent access to the Equals(Type) method.

FindInterfaces(TypeFilter, Object)

Provides COM objects with version-independent access to the FindInterfaces(TypeFilter, Object) method.

FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)

Provides COM objects with version-independent access to the FindMembers(MemberTypes, BindingFlags, MemberFilter, Object) method.

GetArrayRank()

Provides COM objects with version-independent access to the GetArrayRank() method.

GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) method.

GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) method.

GetConstructor(Type[])

Provides COM objects with version-independent access to the GetConstructor(Type[]) method.

GetConstructors()

Provides COM objects with version-independent access to the GetConstructors() method.

GetConstructors(BindingFlags)

Provides COM objects with version-independent access to the GetConstructors(BindingFlags) method.

GetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetDefaultMembers()

Provides COM objects with version-independent access to the GetDefaultMembers() method.

GetElementType()

Provides COM objects with version-independent access to the GetElementType() method.

GetEvent(String)

Provides COM objects with version-independent access to the GetEvent(String) method.

GetEvent(String, BindingFlags)

Provides COM objects with version-independent access to the GetEvent(String, BindingFlags) method.

GetEvents()

Provides COM objects with version-independent access to the GetEvents() method.

GetEvents(BindingFlags)

Provides COM objects with version-independent access to the GetEvents(BindingFlags) method.

GetField(String)

Provides COM objects with version-independent access to the GetField(String) method.

GetField(String, BindingFlags)

Provides COM objects with version-independent access to the GetField(String, BindingFlags) method.

GetFields()

Provides COM objects with version-independent access to the GetFields() method.

GetFields(BindingFlags)

Provides COM objects with version-independent access to the GetFields(BindingFlags) method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

GetInterface(String)

Provides COM objects with version-independent access to the GetInterface(String) method.

GetInterface(String, Boolean)

Provides COM objects with version-independent access to the GetInterface(String, Boolean) method.

GetInterfaceMap(Type)

Provides COM objects with version-independent access to the GetInterfaceMap(Type) method.

GetInterfaces()

Provides COM objects with version-independent access to the GetInterfaces() method.

GetMember(String)

Provides COM objects with version-independent access to the GetMember(String) method.

GetMember(String, BindingFlags)

Provides COM objects with version-independent access to the GetMember(String, BindingFlags) method.

GetMember(String, MemberTypes, BindingFlags)

Provides COM objects with version-independent access to the GetMember(String, MemberTypes, BindingFlags) method.

GetMembers()

Provides COM objects with version-independent access to the GetMembers() method.

GetMembers(BindingFlags)

Provides COM objects with version-independent access to the GetMembers(BindingFlags) method.

GetMethod(String)

Provides COM objects with version-independent access to the GetMethod(String) method.

GetMethod(String, BindingFlags)

Provides COM objects with version-independent access to the GetMethod(String, BindingFlags) method.

GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) method.

GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) method.

GetMethod(String, Type[])

Provides COM objects with version-independent access to the GetMethod(String, Type[]) method.

GetMethod(String, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetMethod(String, Type[], ParameterModifier[]) method.

GetMethods()

Provides COM objects with version-independent access to the GetMethods() method.

GetMethods(BindingFlags)

Provides COM objects with version-independent access to the GetMethods(BindingFlags) method.

GetNestedType(String)

Provides COM objects with version-independent access to the GetNestedType(String) method.

GetNestedType(String, BindingFlags)

Provides COM objects with version-independent access to the GetNestedType(String, BindingFlags) method.

GetNestedTypes()

Provides COM objects with version-independent access to the GetNestedTypes() method.

GetNestedTypes(BindingFlags)

Provides COM objects with version-independent access to the GetNestedTypes(BindingFlags) method, and searches for the types nested within the current Type, using the specified binding constraints.

GetProperties()

Provides COM objects with version-independent access to the GetProperties() method.

GetProperties(BindingFlags)

Provides COM objects with version-independent access to the GetProperties(BindingFlags) method.

GetProperty(String)

Provides COM objects with version-independent access to the GetProperty(String) method.

GetProperty(String, BindingFlags)

Provides COM objects with version-independent access to the GetProperty(String, BindingFlags) method.

GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) method.

GetProperty(String, Type)

Provides COM objects with version-independent access to the GetProperty(String, Type) method.

GetProperty(String, Type, Type[])

Provides COM objects with version-independent access to the GetProperty(String, Type, Type[]) method.

GetProperty(String, Type, Type[], ParameterModifier[])

Provides COM objects with version-independent access to the GetProperty(String, Type, Type[], ParameterModifier[]) method.

GetProperty(String, Type[])

Provides COM objects with version-independent access to the GetProperty(String, Type[]) method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

InvokeMember(String, BindingFlags, Binder, Object, Object[])

Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[]) method.

InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)

Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo) method.

InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) method.

IsAssignableFrom(Type)

Provides COM objects with version-independent access to the IsAssignableFrom(Type) method.

IsDefined(Type, Boolean)

Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

IsInstanceOfType(Object)

Provides COM objects with version-independent access to the IsInstanceOfType(Object) method.

IsSubclassOf(Type)

Provides COM objects with version-independent access to the IsSubclassOf(Type) method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Applies to