The methods of System.Type are listed below. For a list of all members, see the Type Members list.
See Also: Inherited members from System.Reflection.MemberInfo
override | Equals(object)Documentation for this section has not yet been entered. | |
Equals(Type)Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Type. | ||
FindInterfaces(System.Reflection.TypeFilter, object)Documentation for this section has not yet been entered. | ||
FindMembers(System.Reflection.MemberTypes, System.Reflection.BindingFlags, System.Reflection.MemberFilter, object)Documentation for this section has not yet been entered. | ||
GetArrayRank()Returns the number of dimensions in the current Type. | ||
GetConstructor(Type[])Returns a public instance constructor defined in the type represented by the current instance. The parameters of the constructor match the specified argument types. | ||
GetConstructor(System.Reflection.BindingFlags, System.Reflection.Binder, Type[], System.Reflection.ParameterModifier[])Returns a constructor defined in the type represented by the current instance. The parameters of the constructor match the specified argument types and modifiers, under the specified binding constraints. | ||
GetConstructor(System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[])Documentation for this section has not yet been entered. | ||
GetConstructors()Returns an array of the public constructors defined in the type represented by the current instance. | ||
abstract | GetConstructors(System.Reflection.BindingFlags)Returns an array of constructors defined in the type represented by the current instance, under the specified binding constraints. | |
GetDefaultMembers()Returns an array of System.Reflection.MemberInfo objects that reflect the default members defined in the type represented by the current instance. | ||
abstract | GetElementType()Returns the element type of the current Type . | |
GetEnumName(object)Documentation for this section has not yet been entered. | ||
GetEnumNames()Documentation for this section has not yet been entered. | ||
GetEnumUnderlyingType()Documentation for this section has not yet been entered. | ||
GetEnumValues()Documentation for this section has not yet been entered. | ||
GetEvent(string)Returns a System.Reflection.EventInfo object reflecting the public event that has the specified name and is defined in the type represented by the current instance. | ||
abstract | GetEvent(string, System.Reflection.BindingFlags)Returns a System.Reflection.EventInfo object reflecting the event that has the specified name, is defined in the type represented by the current instance, and matches the specified binding constraints. | |
GetEvents()Returns an array of System.Reflection.EventInfo objects that reflect the public events defined in the type represented by the current instance. | ||
abstract | GetEvents(System.Reflection.BindingFlags)Returns an array of System.Reflection.EventInfo objects that reflect the events that are defined in the type represented by the current instance and match the specified binding constraints. | |
GetField(string)Returns a System.Reflection.FieldInfo object reflecting the field that has the specified name and is defined in the type represented by the current instance. | ||
abstract | GetField(string, System.Reflection.BindingFlags)Returns a System.Reflection.FieldInfo object reflecting the field that has the specified name, is defined in the type represented by the current instance, and matches the specified binding constraints. | |
GetFields()Returns an array of System.Reflection.FieldInfo objects that reflect the public fields defined in the type represented by the current instance. | ||
abstract | GetFields(System.Reflection.BindingFlags)Returns an array of System.Reflection.FieldInfo objects that reflect the fields that are defined in the type represented by the current instance and match 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. | ||
GetGenericParameterConstraints()Returns an array of Type objects that represent the type constraints on the current generic type parameter. | ||
GetGenericTypeDefinition()Returns a Type object that represents a generic type from which the current type can be constructed. | ||
override | GetHashCode()Generates a hash code for the current instance. | |
GetInterface(string)Searches for the interface with the specified name. | ||
abstract | GetInterface(string, bool)Returns the specified interface, specifying whether to do a case-sensitive search. | |
GetInterfaceMap(Type)Documentation for this section has not yet been entered. | ||
abstract | GetInterfaces()Returns all interfaces implemented or inherited by the type represented by the current instance. | |
GetMember(string)Returns an array of System.Reflection.MemberInfo objects that reflect the public members that have the specified name and are defined in the type represented by the current instance. | ||
GetMember(string, System.Reflection.BindingFlags)Returns an array of System.Reflection.MemberInfo objects that reflect the members defined in the type represented by the current instance that have the specified name and match the specified binding constraints. | ||
GetMember(string, System.Reflection.MemberTypes, System.Reflection.BindingFlags)Documentation for this section has not yet been entered. | ||
GetMembers()Returns an array of System.Reflection.MemberInfo objects that reflect the public members defined in the type represented by the current instance. | ||
abstract | GetMembers(System.Reflection.BindingFlags)Returns an array of System.Reflection.MemberInfo objects that reflect the members that are defined in the type represented by the current instance and match the specified binding constraints. | |
GetMethod(string)Returns a System.Reflection.MethodInfo object that reflects the public method that has the specified name and is defined in the type represented by the current instance. | ||
GetMethod(string, System.Reflection.BindingFlags)Returns a System.Reflection.MethodInfo object that reflects the method that has the specified name and is defined in the type represented by the current instance. | ||
GetMethod(string, Type[])Returns a System.Reflection.MethodInfo object that reflects the public method defined in the type represented by the current instance that has the specified name and parameter information. | ||
GetMethod(string, Type[], System.Reflection.ParameterModifier[])Returns a System.Reflection.MethodInfo object that reflects the public method that has the specified name and is defined in the type represented by the current instance. | ||
GetMethod(string, System.Reflection.BindingFlags, System.Reflection.Binder, Type[], System.Reflection.ParameterModifier[])Returns a System.Reflection.MethodInfo object that reflects the method that matches the specified criteria and is defined in the type represented by the current instance. | ||
GetMethod(string, System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[])Documentation for this section has not yet been entered. | ||
GetMethods()Returns the public methods defined in the type represented by the current instance. | ||
abstract | GetMethods(System.Reflection.BindingFlags)Returns an array of System.Reflection.MethodInfo objects that reflect the methods defined in the type represented by the current instance that match the specified binding constraints. | |
GetNestedType(string)Returns the public nested type defined in the type represented by the current instance | ||
abstract | GetNestedType(string, System.Reflection.BindingFlags)Returns a nested types defined in the type represented by the current instance that match the specified binding constraints. | |
GetNestedTypes()Returns all the public types nested within the current Type. | ||
abstract | GetNestedTypes(System.Reflection.BindingFlags)Returns an array containing the nested types defined in the type represented by the current instance that match the specified binding constraints. | |
GetProperties()Returns an array of System.Reflection.PropertyInfo objects that reflect the public properties defined in the type represented by the current instance. | ||
abstract | GetProperties(System.Reflection.BindingFlags)Returns an array of System.Reflection.PropertyInfo objects that reflect the properties defined for the type represented by the current instance that match the specified binding constraints. | |
GetProperty(string)Returns a System.Reflection.PropertyInfo object that reflects the public property defined in the type represented by the current instance that has the specified name. | ||
GetProperty(string, System.Reflection.BindingFlags)Returns a System.Reflection.PropertyInfo object that reflects the property defined in the type represented by the current instance that matches the specified search criteria. | ||
GetProperty(string, Type)Returns a System.Reflection.PropertyInfo object that reflects the public property defined in the type represented by the current instance that matches the specified search criteria. | ||
GetProperty(string, Type[])Returns a System.Reflection.PropertyInfo object that reflects the public property defined in the type represented by the current instance that matches the specified search criteria. | ||
GetProperty(string, Type, Type[])Returns a System.Reflection.PropertyInfo object that reflects the public property defined in the type represented by the current instance that matches the specified search criteria. | ||
GetProperty(string, Type, Type[], System.Reflection.ParameterModifier[])Documentation for this section has not yet been entered. | ||
GetProperty(string, System.Reflection.BindingFlags, System.Reflection.Binder, Type, Type[], System.Reflection.ParameterModifier[])Returns a System.Reflection.PropertyInfo object that reflects the property defined in the type represented by the current instance that matches the specified search criteria . | ||
GetType()Documentation for this section has not yet been entered. | ||
static | GetType(string)Returns the Type with the specified name. | |
static | GetType(string, bool)Returns the Type with the specified name, optionally throwing an exception if an error occurs while loading the Type . | |
static | GetType(string, bool, bool)Returns the Type with the specified name, optionally performing a case-insensitive search and optionally throwing an exception if an error occurs while loading the Type. | |
static | GetType(string, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>)Documentation for this section has not yet been entered. | |
static | GetType(string, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>, bool)Documentation for this section has not yet been entered. | |
static | GetType(string, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>, bool, bool)Documentation for this section has not yet been entered. | |
static | GetTypeArray(object[])Returns the types of the objects in the specified array. | |
static | GetTypeCode(Type)Documentation for this section has not yet been entered. | |
static | GetTypeFromCLSID(Guid)Documentation for this section has not yet been entered. | |
static | GetTypeFromCLSID(Guid, bool)Documentation for this section has not yet been entered. | |
static | GetTypeFromCLSID(Guid, string)Documentation for this section has not yet been entered. | |
static | GetTypeFromCLSID(Guid, string, bool)Documentation for this section has not yet been entered. | |
static | GetTypeFromHandle(RuntimeTypeHandle)Gets the Type referenced by the specified type handle. | |
static | GetTypeFromProgID(string)Documentation for this section has not yet been entered. | |
static | GetTypeFromProgID(string, bool)Documentation for this section has not yet been entered. | |
static | GetTypeFromProgID(string, string)Documentation for this section has not yet been entered. | |
static | GetTypeFromProgID(string, string, bool)Documentation for this section has not yet been entered. | |
static | GetTypeHandle(object)Returns the handle for the Type of the specified object. | |
InvokeMember(string, System.Reflection.BindingFlags, System.Reflection.Binder, object, object[])Invokes the specified member, using the specified binding constraints and matching the specified argument list. | ||
InvokeMember(string, System.Reflection.BindingFlags, System.Reflection.Binder, object, object[], System.Globalization.CultureInfo)Invokes the specified member, using the specified binding constraints and matching the specified argument list and culture. | ||
abstract | InvokeMember(string, System.Reflection.BindingFlags, System.Reflection.Binder, object, object[], System.Reflection.ParameterModifier[], System.Globalization.CultureInfo, string[])Invokes or accesses a member defined on the type represented by the current instance that matches the specified binding criteria. | |
IsAssignableFrom(Type)Determines whether an instance of the current Type can be assigned from an instance of the specified Type . | ||
IsEnumDefined(object)Documentation for this section has not yet been entered. | ||
IsEquivalentTo(Type)Documentation for this section has not yet been entered. | ||
IsInstanceOfType(object)Determines whether the specified object is an instance of the current Type. | ||
IsSubclassOf(Type)Determines whether the current Type derives from the specified Type . | ||
MakeArrayType()Returns a Type object representing a one-dimensional array type whose element type is the current type, with a lower bound of zero. | ||
MakeArrayType(int)Returns a Type object representing an array of the current type, with the specified number of dimensions. | ||
MakeByRefType()Returns a Type object that represents the current type when passed as a byref parameter. | ||
MakeGenericType(params Type[])
| ||
MakePointerType()Returns a Type object that represents the type of an unmanaged pointer to the current type. | ||
static | ReflectionOnlyGetType(string, bool, bool)Documentation for this section has not yet been entered. | |
override | ToString()Returns a string representation of the current Type. | |
abstract | GetAttributeFlagsImpl()When overridden in a derived type implements the Type.Attributes property and returns the attributes specified for the type represented by the current instance. | |
abstract | GetConstructorImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[])Documentation for this section has not yet been entered. | |
abstract | GetMethodImpl(string, System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[])Documentation for this section has not yet been entered. | |
abstract | GetPropertyImpl(string, System.Reflection.BindingFlags, System.Reflection.Binder, Type, Type[], System.Reflection.ParameterModifier[])When overridden in a derived class implements the Type.GetProperty(string, System.Reflection.BindingFlags, System.Reflection.Binder, Type, Type[], System.Reflection.ParameterModifier[]) method and returns a System.Reflection.PropertyInfo object that reflects the property defined in the type represented by the current instance that matches the specified search criteria. | |
GetTypeCodeImpl()Documentation for this section has not yet been entered. | ||
abstract | HasElementTypeImpl()When overridden in a derived class, implements the Type.HasElementType property and determines whether the current Type encompasses or refers to another type; that is, whether the current Type is an array, a pointer, or is passed by reference. | |
abstract | IsArrayImpl()When overridden in a derived class implements the Type.IsArray property returning a bool value that indicates whether the type represented by the current instance is an array. | |
abstract | IsByRefImpl()When overridden in a derived class, implements the Type.IsByRef property and determines whether the Type is passed by reference. | |
abstract | IsCOMObjectImpl()Reserved. | |
IsContextfulImpl()Documentation for this section has not yet been entered. | ||
IsMarshalByRefImpl()Documentation for this section has not yet been entered. | ||
abstract | IsPointerImpl()When overridden in a derived class, implements the Type.IsPointer property and determines whether the Type is a pointer. | |
abstract | IsPrimitiveImpl()When overridden in a derived class, implements the Type.IsPrimitive property and determines whether the Type is one of the primitive types. | |
IsValueTypeImpl()Documentation for this section has not yet been entered. | ||