2 out of 2 rated this helpful - Rate this topic

_Type Interface

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

This API is not CLS-compliant. 

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[GuidAttribute("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface _Type

The _Type type exposes the following members.

  Name Description
Public property Assembly Provides COM objects with version-independent access to the Type.Assembly property.
Public property AssemblyQualifiedName Provides COM objects with version-independent access to the Type.AssemblyQualifiedName property.
Public property Attributes Provides COM objects with version-independent access to the Type.Attributes property.
Public property BaseType Provides COM objects with version-independent access to the Type.BaseType property.
Public property DeclaringType Provides COM objects with version-independent access to the Type.DeclaringType property.
Public property FullName Provides COM objects with version-independent access to the Type.FullName property.
Public property GUID Provides COM objects with version-independent access to the Type.GUID property.
Public property HasElementType Provides COM objects with version-independent access to the Type.HasElementType property.
Public property IsAbstract Provides COM objects with version-independent access to the Type.IsAbstract property.
Public property IsAnsiClass Provides COM objects with version-independent access to the Type.IsAnsiClass property.
Public property IsArray Provides COM objects with version-independent access to the Type.IsArray property.
Public property IsAutoClass Provides COM objects with version-independent access to the Type.IsAutoClass property.
Public property IsAutoLayout Provides COM objects with version-independent access to the Type.IsAutoLayout property.
Public property IsByRef Provides COM objects with version-independent access to the Type.IsByRef property.
Public property IsClass Provides COM objects with version-independent access to the Type.IsClass property.
Public property IsCOMObject Provides COM objects with version-independent access to the Type.IsCOMObject property.
Public property IsContextful Provides COM objects with version-independent access to the Type.IsContextful property.
Public property IsEnum Provides COM objects with version-independent access to the Type.IsEnum property.
Public property IsExplicitLayout Provides COM objects with version-independent access to the Type.IsExplicitLayout property.
Public property IsImport Provides COM objects with version-independent access to the Type.IsImport property.
Public property IsInterface Provides COM objects with version-independent access to the Type.IsInterface property.
Public property IsLayoutSequential Provides COM objects with version-independent access to the Type.IsLayoutSequential property.
Public property IsMarshalByRef Provides COM objects with version-independent access to the Type.IsMarshalByRef property.
Public property IsNestedAssembly Provides COM objects with version-independent access to the Type.IsNestedAssembly property.
Public property IsNestedFamANDAssem Provides COM objects with version-independent access to the Type.IsNestedFamANDAssem property.
Public property IsNestedFamily Provides COM objects with version-independent access to the Type.IsNestedFamily property.
Public property IsNestedFamORAssem Provides COM objects with version-independent access to the Type.IsNestedFamORAssem property.
Public property IsNestedPrivate Provides COM objects with version-independent access to the Type.IsNestedPrivate property.
Public property IsNestedPublic Provides COM objects with version-independent access to the Type.IsNestedPublic property.
Public property IsNotPublic Provides COM objects with version-independent access to the Type.IsNotPublic property.
Public property IsPointer Provides COM objects with version-independent access to the Type.IsPointer property.
Public property IsPrimitive Provides COM objects with version-independent access to the Type.IsPrimitive property.
Public property IsPublic Provides COM objects with version-independent access to the Type.IsPublic property.
Public property IsSealed Provides COM objects with version-independent access to the Type.IsSealed property.
Public property IsSerializable Provides COM objects with version-independent access to the Type.IsSerializable property.
Public property IsSpecialName Provides COM objects with version-independent access to the Type.IsSpecialName property.
Public property IsUnicodeClass Provides COM objects with version-independent access to the Type.IsUnicodeClass property.
Public property IsValueType Provides COM objects with version-independent access to the Type.IsValueType property.
Public property MemberType Provides COM objects with version-independent access to the Type.MemberType property.
Public property Module Provides COM objects with version-independent access to the Type.Module property.
Public property Name Provides COM objects with version-independent access to the MemberInfo.Name property.
Public property Namespace Provides COM objects with version-independent access to the Type.Namespace property.
Public property ReflectedType Provides COM objects with version-independent access to the Type.ReflectedType property.
Public property TypeHandle Provides COM objects with version-independent access to the Type.TypeHandle property.
Public property TypeInitializer Provides COM objects with version-independent access to the Type.TypeInitializer property.
Public property UnderlyingSystemType Provides COM objects with version-independent access to the Type.UnderlyingSystemType property.
Top
  Name Description
Public method Equals(Object) Provides COM objects with version-independent access to the Type.Equals method.
Public method Equals(Type) Provides COM objects with version-independent access to the Type.Equals method.
Public method FindInterfaces Provides COM objects with version-independent access to the Type.FindInterfaces method.
Public method FindMembers Provides COM objects with version-independent access to the Type.FindMembers method.
Public method GetArrayRank Provides COM objects with version-independent access to the Type.GetArrayRank method.
Public method GetConstructor(Type[]) Provides COM objects with version-independent access to the Type.GetConstructor method.
Public method GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetConstructor method.
Public method GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetConstructor method.
Public method GetConstructors() Provides COM objects with version-independent access to the Type.GetConstructors method.
Public method GetConstructors(BindingFlags) Provides COM objects with version-independent access to the Type.GetConstructors method.
Public method GetCustomAttributes(Boolean) Provides COM objects with version-independent access to the Assembly.GetCustomAttributes method.
Public method GetCustomAttributes(Type, Boolean) Provides COM objects with version-independent access to the MemberInfo.GetCustomAttributes method.
Public method GetDefaultMembers Provides COM objects with version-independent access to the Type.GetDefaultMembers method.
Public method GetElementType Provides COM objects with version-independent access to the Type.GetElementType method.
Public method GetEvent(String) Provides COM objects with version-independent access to the Type.GetEvent method.
Public method GetEvent(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetEvent method.
Public method GetEvents() Provides COM objects with version-independent access to the Type.GetEvents method.
Public method GetEvents(BindingFlags) Provides COM objects with version-independent access to the Type.GetEvents method.
Public method GetField(String) Provides COM objects with version-independent access to the Type.GetField method.
Public method GetField(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetField method.
Public method GetFields() Provides COM objects with version-independent access to the Type.GetFields method.
Public method GetFields(BindingFlags) Provides COM objects with version-independent access to the Type.GetFields method.
Public method GetHashCode Provides COM objects with version-independent access to the Type.GetHashCode method.
Public method GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Public method GetInterface(String) Provides COM objects with version-independent access to the Type.GetInterface method.
Public method GetInterface(String, Boolean) Provides COM objects with version-independent access to the Type.GetInterface method.
Public method GetInterfaceMap Provides COM objects with version-independent access to the Type.GetInterfaceMap method.
Public method GetInterfaces Provides COM objects with version-independent access to the Type.GetInterfaces method.
Public method GetMember(String) Provides COM objects with version-independent access to the Type.GetMember method.
Public method GetMember(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetMember method.
Public method GetMember(String, MemberTypes, BindingFlags) Provides COM objects with version-independent access to the Type.GetMember method.
Public method GetMembers() Provides COM objects with version-independent access to the Type.GetMembers method.
Public method GetMembers(BindingFlags) Provides COM objects with version-independent access to the Type.GetMembers method.
Public method GetMethod(String) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethod(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethod(String, Type[]) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethod(String, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetMethod method.
Public method GetMethods() Provides COM objects with version-independent access to the Type.GetMethods method.
Public method GetMethods(BindingFlags) Provides COM objects with version-independent access to the Type.GetMethods method.
Public method GetNestedType(String) Provides COM objects with version-independent access to the Type.GetNestedType method.
Public method GetNestedType(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetNestedType method.
Public method GetNestedTypes() Provides COM objects with version-independent access to the Type.GetNestedTypes method.
Public method GetNestedTypes(BindingFlags) Provides COM objects with version-independent access to the Type.GetNestedTypes method, and searches for the types nested within the current Type, using the specified binding constraints.
Public method GetProperties() Provides COM objects with version-independent access to the Type.GetProperties method.
Public method GetProperties(BindingFlags) Provides COM objects with version-independent access to the Type.GetProperties method.
Public method GetProperty(String) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, BindingFlags) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, Type) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, Type[]) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, Type, Type[]) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, Type, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) Provides COM objects with version-independent access to the Type.GetProperty method.
Public method GetType Provides COM objects with version-independent access to the Type.GetType method.
Public method GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Public method GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Public method Invoke Provides access to properties and methods exposed by an object.
Public method InvokeMember(String, BindingFlags, Binder, Object, Object[]) Provides COM objects with version-independent access to the Type.InvokeMember method.
Public method InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo) Provides COM objects with version-independent access to the Type.InvokeMember method.
Public method InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) Provides COM objects with version-independent access to the Type.InvokeMember method.
Public method IsAssignableFrom Provides COM objects with version-independent access to the Type.IsAssignableFrom method.
Public method IsDefined Provides COM objects with version-independent access to the MemberInfo.IsDefined method.
Public method IsInstanceOfType Provides COM objects with version-independent access to the Type.IsInstanceOfType method.
Public method IsSubclassOf Provides COM objects with version-independent access to the Type.IsSubclassOf method.
Public method ToString Provides COM objects with version-independent access to the Type.ToString method.
Top

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ