Click or drag to resize
Type Methods

The Type type exposes the following members.

Methods
  NameDescription
Public methodEquals(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).)
Public methodEquals(Type)
Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Type.
Public methodGetConstructor(Type)
Searches for a public instance constructor whose parameters match the types in the specified array.
Public methodGetConstructor(BindingFlags, Binder, Type, ParameterModifier)
Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints.
Public methodGetConstructor(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.
Public methodGetConstructors
Returns all the public constructors defined for the current Type.
Public methodGetConstructors(BindingFlags)
When overridden in a derived class, searches for the constructors defined for the current Type, using the specified BindingFlags.
Public methodGetElementType
When overridden in a derived class, returns the Type of the object encompassed or referred to by the current array, pointer or reference type.
Public methodGetEvents
Returns all the public events that are declared or inherited by the current Type.
Public methodGetEvents(BindingFlags)
When overridden in a derived class, searches for events that are declared or inherited by the current Type, using the specified binding constraints.
Public methodGetField(String)
Searches for the public field with the specified name.
Public methodGetField(String, BindingFlags)
Searches for the specified field, using the specified binding constraints.
Public methodGetFields
Returns all the public fields of the current Type.
Public methodGetFields(BindingFlags)
When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints.
Public methodGetGenericArguments
Returns an array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition.
Public methodGetGenericTypeDefinition
Returns a Type object that represents a generic type definition from which the current generic type can be constructed.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides MemberInfoGetHashCode.)
Public methodGetInterfaces
When overridden in a derived class, gets all the interfaces implemented or inherited by the current Type.
Public methodGetMember(String)
Searches for the public members with the specified name.
Public methodGetMember(String, BindingFlags)
Searches for the specified members, using the specified binding constraints.
Public methodGetMember(String, MemberTypes, BindingFlags)
Searches for the specified members of the specified member type, using the specified binding constraints.
Public methodGetMembers
Returns all the public members of the current Type.
Public methodGetMembers(BindingFlags)
When overridden in a derived class, searches for the members defined for the current Type, using the specified binding constraints.
Public methodGetMethod(String)
Searches for the public method with the specified name.
Public methodGetMethod(String, BindingFlags)
Searches for the specified method, using the specified binding constraints.
Public methodGetMethod(String, Type)
Searches for the specified public method whose parameters match the specified argument types.
Public methodGetMethod(String, Type, ParameterModifier)
Searches for the specified public method whose parameters match the specified argument types and modifiers.
Public methodGetMethod(String, BindingFlags, Binder, Type, ParameterModifier)
Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.
Public methodGetMethod(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.
Public methodGetMethods
Returns all the public methods of the current Type.
Public methodGetMethods(BindingFlags)
When overridden in a derived class, searches for the methods defined for the current Type, using the specified binding constraints.
Public methodGetProperties
Returns all the public properties of the current Type.
Public methodGetProperties(BindingFlags)
When overridden in a derived class, searches for the properties of the current Type, using the specified binding constraints.
Public methodGetProperty(String)
Searches for the public property with the specified name.
Public methodGetProperty(String, BindingFlags)
Searches for the specified property, using the specified binding constraints.
Public methodGetProperty(String, Type)
Searches for the public property with the specified name and return type.
Public methodGetProperty(String, Type)
Searches for the specified public property whose parameters match the specified argument types.
Public methodGetProperty(String, Type, Type)
Searches for the specified public property whose parameters match the specified argument types.
Public methodGetProperty(String, Type, Type, ParameterModifier)
Searches for the specified public property whose parameters match the specified argument types and modifiers.
Public methodGetProperty(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.
Public methodGetType
Gets the current Type.
Public methodStatic memberGetType(String)
Gets the Type with the specified name, performing a case-sensitive search.
Public methodStatic memberGetType(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.
Public methodStatic memberGetType(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.
Public methodStatic memberGetType(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.
Public methodStatic memberGetType(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.
Public methodStatic memberGetType(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.
Public methodStatic memberGetTypeFromHandle
Gets the type referenced by the specified type handle.
Public methodIsAssignableFrom
Determines whether an instance of the current Type can be assigned from an instance of the specified Type.
Public methodIsEquivalentTo
Determines whether two COM types have the same identity and are eligible for type equivalence.
Public methodIsSubclassOf
Determines whether the class represented by the current Type derives from the class represented by the specified Type.
Public methodMakeGenericType
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String representing the name of the current Type.
(Overrides ObjectToString.)
Top
See Also