Type Methods |
The Type type exposes the following members.
Name | Description | |
---|---|---|
Equals(Object) | Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object. (Overrides MemberInfoEquals(Object).) | |
Equals(Type) | ||
GetConstructor(Type) | Searches for a public instance constructor whose parameters match the types in the specified array. | |
GetConstructor(BindingFlags, Binder, Type, ParameterModifier) | Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints. | |
GetConstructor(BindingFlags, Binder, CallingConventions, Type, ParameterModifier) | Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention. | |
GetConstructors | Returns all the public constructors defined for the current Type. | |
GetConstructors(BindingFlags) | When overridden in a derived class, searches for the constructors defined for the current Type, using the specified BindingFlags. | |
GetElementType | When overridden in a derived class, returns the Type of the object encompassed or referred to by the current array, pointer or reference type. | |
GetEvents | Returns all the public events that are declared or inherited by the current Type. | |
GetEvents(BindingFlags) | When overridden in a derived class, searches for events that are declared or inherited by the current Type, using the specified binding constraints. | |
GetField(String) | Searches for the public field with the specified name. | |
GetField(String, BindingFlags) | Searches for the specified field, using the specified binding constraints. | |
GetFields | Returns all the public fields of the current Type. | |
GetFields(BindingFlags) | When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints. | |
GetGenericArguments | Returns an array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. | |
GetGenericTypeDefinition | Returns a Type object that represents a generic type definition from which the current generic type can be constructed. | |
GetHashCode | Returns the hash code for this instance. (Overrides MemberInfoGetHashCode.) | |
GetInterfaces | When overridden in a derived class, gets all the interfaces implemented or inherited by the current Type. | |
GetMember(String) | Searches for the public members with the specified name. | |
GetMember(String, BindingFlags) | Searches for the specified members, using the specified binding constraints. | |
GetMember(String, MemberTypes, BindingFlags) | Searches for the specified members of the specified member type, using the specified binding constraints. | |
GetMembers | Returns all the public members of the current Type. | |
GetMembers(BindingFlags) | When overridden in a derived class, searches for the members defined for the current Type, using the specified binding constraints. | |
GetMethod(String) | Searches for the public method with the specified name. | |
GetMethod(String, BindingFlags) | Searches for the specified method, using the specified binding constraints. | |
GetMethod(String, Type) | Searches for the specified public method whose parameters match the specified argument types. | |
GetMethod(String, Type, ParameterModifier) | Searches for the specified public method whose parameters match the specified argument types and modifiers. | |
GetMethod(String, BindingFlags, Binder, Type, ParameterModifier) | Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints. | |
GetMethod(String, BindingFlags, Binder, CallingConventions, Type, ParameterModifier) | Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention. | |
GetMethods | Returns all the public methods of the current Type. | |
GetMethods(BindingFlags) | When overridden in a derived class, searches for the methods defined for the current Type, using the specified binding constraints. | |
GetProperties | Returns all the public properties of the current Type. | |
GetProperties(BindingFlags) | When overridden in a derived class, searches for the properties of the current Type, using the specified binding constraints. | |
GetProperty(String) | Searches for the public property with the specified name. | |
GetProperty(String, BindingFlags) | Searches for the specified property, using the specified binding constraints. | |
GetProperty(String, Type) | Searches for the public property with the specified name and return type. | |
GetProperty(String, Type) | Searches for the specified public property whose parameters match the specified argument types. | |
GetProperty(String, Type, Type) | Searches for the specified public property whose parameters match the specified argument types. | |
GetProperty(String, Type, Type, ParameterModifier) | Searches for the specified public property whose parameters match the specified argument types and modifiers. | |
GetProperty(String, BindingFlags, Binder, Type, Type, ParameterModifier) | Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints. | |
GetType | Gets the current Type. | |
GetType(String) | Gets the Type with the specified name, performing a case-sensitive search. | |
GetType(String, Boolean) | Gets the Type with the specified name, performing a case-sensitive search and specifying whether to throw an exception if the type is not found. | |
GetType(String, Boolean, Boolean) | Gets the Type with the specified name, specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found. | |
GetType(String, FuncAssemblyName, Assembly, FuncAssembly, String, Boolean, Type) | Gets the type with the specified name, optionally providing custom methods to resolve the assembly and the type. | |
GetType(String, FuncAssemblyName, Assembly, FuncAssembly, String, Boolean, Type, Boolean) | Gets the type with the specified name, specifying whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type. | |
GetType(String, FuncAssemblyName, Assembly, FuncAssembly, String, Boolean, Type, Boolean, Boolean) | Gets the type with the specified name, specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type. | |
GetTypeFromHandle | Gets the type referenced by the specified type handle. | |
IsAssignableFrom | Determines whether an instance of the current Type can be assigned from an instance of the specified Type. | |
IsEquivalentTo | Determines whether two COM types have the same identity and are eligible for type equivalence. | |
IsSubclassOf | ||
MakeGenericType | Substitutes the elements of an array of types for the type parameters of the current generic type definition and returns a Type object representing the resulting constructed type. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String representing the name of the current Type. (Overrides ObjectToString.) |