Type Members
The following tables list the members exposed by the Type type.
Protected Constructors
Name | Description | |
---|---|---|
Type | Initializes a new instance of the Type class. |
Public Properties
Name | Description | |
---|---|---|
Assembly | Gets the Assembly object in which the current type is declared. | |
AssemblyQualifiedName | Gets the assembly-qualified name of the Type, which includes the name of the assembly from which the Type was loaded. | |
BaseType | Gets the type from which the current type directly inherits. | |
DeclaringType | Gets the type name of the class that declares the current member. | |
FullName | Gets the fully qualified type name of the class that declares the current member. | |
IsAbstract | Gets a value indicating whether the current type is abstract and must be overridden. | |
IsArray | Gets a value indicating whether the current type is an array. | |
IsClass | Gets a value indicating whether the current type is a class, and not a value type or an interface. | |
IsEnum | Gets a value indicating whether the current type represents an enumeration. | |
IsInterface | Gets a value indicating whether the current type is an interface, and not a class or a value type. | |
IsNotPublic | Gets a value indicating whether the top-level type is not declared as a public type. | |
IsPublic | Gets a value indicating whether the top-level type is declared as a public type. | |
IsSerializable | Gets a value indicating whether the current type is serializable. | |
IsValueType | Gets a value indicating whether the current type is a value type. | |
MemberType | (Inherited from MemberInfo.) | |
Name | (Inherited from MemberInfo.) |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetConstructor | Searches for a public instance constructor whose parameters match the types in the specified array of Type objects. | |
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. | |
GetField | Overloaded. Searches for the specified data field. | |
GetFields | Overloaded. Gets the fields of the current type. | |
GetHashCode | (Inherited from Object.) | |
GetInterfaces | When overridden in a derived class, this method gets all of the interfaces implemented or inherited by the current type. | |
GetMethod | Overloaded. Gets a specific method of the current type. | |
GetMethods | Overloaded. Gets the methods of the current type. | |
GetType | Gets the type with the specified name by performing a case-sensitive search. | |
GetType | (Inherited from Object.) | |
GetTypeFromHandle | Gets the type referenced by the specified RuntimeTypeHandle object (type handle). | |
InvokeMember | Invokes the specified member by using the specified binding constraints (flags) and matching the specified argument list. | |
IsInstanceOfType | Determines whether the specified object is an instance of the current type. | |
IsSubclassOf | Determines whether the current type derives from the specified type. | |
ReferenceEquals | (Inherited from Object.) | |
ToString | Returns a String object that represents the name of the current type. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |