Export (0) Print
Expand All

_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)

[CLSCompliantAttribute(false)]
[GuidAttribute("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface _Type

The _Type type exposes the following members.

  NameDescription
Public propertyAssemblyProvides COM objects with version-independent access to the Type.Assembly property.
Public propertyAssemblyQualifiedNameProvides COM objects with version-independent access to the Type.AssemblyQualifiedName property.
Public propertyAttributesProvides COM objects with version-independent access to the Type.Attributes property.
Public propertyBaseTypeProvides COM objects with version-independent access to the Type.BaseType property.
Public propertyDeclaringTypeProvides COM objects with version-independent access to the Type.DeclaringType property.
Public propertyFullNameProvides COM objects with version-independent access to the Type.FullName property.
Public propertyGUIDProvides COM objects with version-independent access to the Type.GUID property.
Public propertyHasElementTypeProvides COM objects with version-independent access to the Type.HasElementType property.
Public propertyIsAbstractProvides COM objects with version-independent access to the Type.IsAbstract property.
Public propertyIsAnsiClassProvides COM objects with version-independent access to the Type.IsAnsiClass property.
Public propertyIsArrayProvides COM objects with version-independent access to the Type.IsArray property.
Public propertyIsAutoClassProvides COM objects with version-independent access to the Type.IsAutoClass property.
Public propertyIsAutoLayoutProvides COM objects with version-independent access to the Type.IsAutoLayout property.
Public propertyIsByRefProvides COM objects with version-independent access to the Type.IsByRef property.
Public propertyIsClassProvides COM objects with version-independent access to the Type.IsClass property.
Public propertyIsCOMObjectProvides COM objects with version-independent access to the Type.IsCOMObject property.
Public propertyIsContextfulProvides COM objects with version-independent access to the Type.IsContextful property.
Public propertyIsEnumProvides COM objects with version-independent access to the Type.IsEnum property.
Public propertyIsExplicitLayoutProvides COM objects with version-independent access to the Type.IsExplicitLayout property.
Public propertyIsImportProvides COM objects with version-independent access to the Type.IsImport property.
Public propertyIsInterfaceProvides COM objects with version-independent access to the Type.IsInterface property.
Public propertyIsLayoutSequentialProvides COM objects with version-independent access to the Type.IsLayoutSequential property.
Public propertyIsMarshalByRefProvides COM objects with version-independent access to the Type.IsMarshalByRef property.
Public propertyIsNestedAssemblyProvides COM objects with version-independent access to the Type.IsNestedAssembly property.
Public propertyIsNestedFamANDAssemProvides COM objects with version-independent access to the Type.IsNestedFamANDAssem property.
Public propertyIsNestedFamilyProvides COM objects with version-independent access to the Type.IsNestedFamily property.
Public propertyIsNestedFamORAssemProvides COM objects with version-independent access to the Type.IsNestedFamORAssem property.
Public propertyIsNestedPrivateProvides COM objects with version-independent access to the Type.IsNestedPrivate property.
Public propertyIsNestedPublicProvides COM objects with version-independent access to the Type.IsNestedPublic property.
Public propertyIsNotPublicProvides COM objects with version-independent access to the Type.IsNotPublic property.
Public propertyIsPointerProvides COM objects with version-independent access to the Type.IsPointer property.
Public propertyIsPrimitiveProvides COM objects with version-independent access to the Type.IsPrimitive property.
Public propertyIsPublicProvides COM objects with version-independent access to the Type.IsPublic property.
Public propertyIsSealedProvides COM objects with version-independent access to the Type.IsSealed property.
Public propertyIsSerializableProvides COM objects with version-independent access to the Type.IsSerializable property.
Public propertyIsSpecialNameProvides COM objects with version-independent access to the Type.IsSpecialName property.
Public propertyIsUnicodeClassProvides COM objects with version-independent access to the Type.IsUnicodeClass property.
Public propertyIsValueTypeProvides COM objects with version-independent access to the Type.IsValueType property.
Public propertyMemberTypeProvides COM objects with version-independent access to the Type.MemberType property.
Public propertyModuleProvides COM objects with version-independent access to the Type.Module property.
Public propertyNameProvides COM objects with version-independent access to the MemberInfo.Name property.
Public propertyNamespaceProvides COM objects with version-independent access to the Type.Namespace property.
Public propertyReflectedTypeProvides COM objects with version-independent access to the Type.ReflectedType property.
Public propertyTypeHandleProvides COM objects with version-independent access to the Type.TypeHandle property.
Public propertyTypeInitializerProvides COM objects with version-independent access to the Type.TypeInitializer property.
Public propertyUnderlyingSystemTypeProvides COM objects with version-independent access to the Type.UnderlyingSystemType property.
Top

  NameDescription
Public methodEquals(Object)Provides COM objects with version-independent access to the Type.Equals method.
Public methodEquals(Type)Provides COM objects with version-independent access to the Type.Equals method.
Public methodFindInterfacesProvides COM objects with version-independent access to the Type.FindInterfaces method.
Public methodFindMembersProvides COM objects with version-independent access to the Type.FindMembers method.
Public methodGetArrayRankProvides COM objects with version-independent access to the Type.GetArrayRank method.
Public methodGetConstructor(Type[])Provides COM objects with version-independent access to the Type.GetConstructor method.
Public methodGetConstructor(BindingFlags, Binder, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetConstructor method.
Public methodGetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetConstructor method.
Public methodGetConstructors()Provides COM objects with version-independent access to the Type.GetConstructors method.
Public methodGetConstructors(BindingFlags)Provides COM objects with version-independent access to the Type.GetConstructors method.
Public methodGetCustomAttributes(Boolean)Provides COM objects with version-independent access to the Assembly.GetCustomAttributes method.
Public methodGetCustomAttributes(Type, Boolean)Provides COM objects with version-independent access to the MemberInfo.GetCustomAttributes method.
Public methodGetDefaultMembersProvides COM objects with version-independent access to the Type.GetDefaultMembers method.
Public methodGetElementTypeProvides COM objects with version-independent access to the Type.GetElementType method.
Public methodGetEvent(String)Provides COM objects with version-independent access to the Type.GetEvent method.
Public methodGetEvent(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetEvent method.
Public methodGetEvents()Provides COM objects with version-independent access to the Type.GetEvents method.
Public methodGetEvents(BindingFlags)Provides COM objects with version-independent access to the Type.GetEvents method.
Public methodGetField(String)Provides COM objects with version-independent access to the Type.GetField method.
Public methodGetField(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetField method.
Public methodGetFields()Provides COM objects with version-independent access to the Type.GetFields method.
Public methodGetFields(BindingFlags)Provides COM objects with version-independent access to the Type.GetFields method.
Public methodGetHashCodeProvides COM objects with version-independent access to the Type.GetHashCode method.
Public methodGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
Public methodGetInterface(String)Provides COM objects with version-independent access to the Type.GetInterface method.
Public methodGetInterface(String, Boolean)Provides COM objects with version-independent access to the Type.GetInterface method.
Public methodGetInterfaceMapProvides COM objects with version-independent access to the Type.GetInterfaceMap method.
Public methodGetInterfacesProvides COM objects with version-independent access to the Type.GetInterfaces method.
Public methodGetMember(String)Provides COM objects with version-independent access to the Type.GetMember method.
Public methodGetMember(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetMember method.
Public methodGetMember(String, MemberTypes, BindingFlags)Provides COM objects with version-independent access to the Type.GetMember method.
Public methodGetMembers()Provides COM objects with version-independent access to the Type.GetMembers method.
Public methodGetMembers(BindingFlags)Provides COM objects with version-independent access to the Type.GetMembers method.
Public methodGetMethod(String)Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethod(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethod(String, Type[])Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethod(String, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetMethod method.
Public methodGetMethods()Provides COM objects with version-independent access to the Type.GetMethods method.
Public methodGetMethods(BindingFlags)Provides COM objects with version-independent access to the Type.GetMethods method.
Public methodGetNestedType(String)Provides COM objects with version-independent access to the Type.GetNestedType method.
Public methodGetNestedType(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetNestedType method.
Public methodGetNestedTypes()Provides COM objects with version-independent access to the Type.GetNestedTypes method.
Public methodGetNestedTypes(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 methodGetProperties()Provides COM objects with version-independent access to the Type.GetProperties method.
Public methodGetProperties(BindingFlags)Provides COM objects with version-independent access to the Type.GetProperties method.
Public methodGetProperty(String)Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, BindingFlags)Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, Type)Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, Type[])Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, Type, Type[])Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, Type, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])Provides COM objects with version-independent access to the Type.GetProperty method.
Public methodGetTypeProvides COM objects with version-independent access to the Type.GetType method.
Public methodGetTypeInfoRetrieves the type information for an object, which can then be used to get the type information for an interface.
Public methodGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
Public methodInvokeProvides access to properties and methods exposed by an object.
Public methodInvokeMember(String, BindingFlags, Binder, Object, Object[])Provides COM objects with version-independent access to the Type.InvokeMember method.
Public methodInvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)Provides COM objects with version-independent access to the Type.InvokeMember method.
Public methodInvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])Provides COM objects with version-independent access to the Type.InvokeMember method.
Public methodIsAssignableFromProvides COM objects with version-independent access to the Type.IsAssignableFrom method.
Public methodIsDefinedProvides COM objects with version-independent access to the MemberInfo.IsDefined method.
Public methodIsInstanceOfTypeProvides COM objects with version-independent access to the Type.IsInstanceOfType method.
Public methodIsSubclassOfProvides COM objects with version-independent access to the Type.IsSubclassOf method.
Public methodToStringProvides 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.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft