Share via


Type Members

The following tables list the members exposed by the Type type.

Protected Constructors

Name Description
Protected Method Type Initializes a new instance of the Type class.

Public Properties

Name Description
Public Property Assembly Gets the Assembly object in which the current type is declared.
Public Property AssemblyQualifiedName Gets the assembly-qualified name of the Type, which includes the name of the assembly from which the Type was loaded.
Public Property BaseType Gets the type from which the current type directly inherits.
Public Property DeclaringType Gets the type name of the class that declares the current member.
Public Property FullName Gets the fully qualified type name of the class that declares the current member.
Public Property IsAbstract Gets a value indicating whether the current type is abstract and must be overridden.
Public Property IsArray Gets a value indicating whether the current type is an array.
Public Property IsClass Gets a value indicating whether the current type is a class, and not a value type or an interface.
Public Property IsEnum Gets a value indicating whether the current type represents an enumeration.
Public Property IsInterface Gets a value indicating whether the current type is an interface, and not a class or a value type.
Public Property IsNotPublic Gets a value indicating whether the top-level type is not declared as a public type.
Public Property IsPublic Gets a value indicating whether the top-level type is declared as a public type.
Public Property IsSerializable Gets a value indicating whether the current type is serializable.
Public Property IsValueType Gets a value indicating whether the current type is a value type.
Public Property MemberType (Inherited from MemberInfo.)
Public Property Name (Inherited from MemberInfo.)

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetConstructor Searches for a public instance constructor whose parameters match the types in the specified array of Type objects.
Public Method GetElementType When overridden in a derived class, this method returns the type of the object encompassed or referred to by the current array, pointer, or reference type.
Public Method GetField Overloaded. Searches for the specified data field.
Public Method GetFields Overloaded. Gets the fields of the current type.
Public Method GetHashCode (Inherited from Object.)
Public Method GetInterfaces When overridden in a derived class, this method gets all of the interfaces implemented or inherited by the current type.
Public Method GetMethod Overloaded. Gets a specific method of the current type.
Public Method GetMethods Overloaded. Gets the methods of the current type.
Public Method Static GetType Gets the type with the specified name by performing a case-sensitive search.
Public Method GetType (Inherited from Object.)
Public Method Static GetTypeFromHandle Gets the type referenced by the specified RuntimeTypeHandle object (type handle).
Public Method InvokeMember Invokes the specified member by using the specified binding constraints (flags) and matching the specified argument list.
Public Method IsInstanceOfType Determines whether the specified object is an instance of the current type.
Public Method IsSubclassOf Determines whether the current type derives from the specified type.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Returns a String object that represents the name of the current type.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Type Class
System Namespace