Type Methods
The methods of the Type class are listed here. For a complete list of Type class members, see the Type Members topic.
Public Methods
Equals Supported by the .NET Compact Framework. | Overloaded. Overridden. Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object or Type. |
FindInterfaces | Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type. |
FindMembers | Returns a filtered array of MemberInfo objects of the specified member type. |
GetArrayRank | Gets the number of dimensions in an Array. |
GetConstructor Supported by the .NET Compact Framework. | Overloaded. Gets a specific constructor of the current Type. |
GetConstructors Supported by the .NET Compact Framework. | Overloaded. Gets the constructors of the current Type. |
GetCustomAttributes (inherited from MemberInfo)
Supported by the .NET Compact Framework. | Overloaded. When overridden in a derived class, returns all attributes defined on this member. |
GetDefaultMembers Supported by the .NET Compact Framework. | Searches for the members defined for the current Type whose DefaultMemberAttribute is set. |
GetElementType Supported by the .NET Compact Framework. | When overridden in a derived class, returns the Type of the object encompassed or referred to by the current array, pointer or reference type. |
GetEvent Supported by the .NET Compact Framework. | Overloaded. Gets a specific event declared or inherited by the current Type. |
GetEvents Supported by the .NET Compact Framework. | Overloaded. Gets the events that are declared or inherited by the current Type. |
GetField Supported by the .NET Compact Framework. | Overloaded. Gets a specific field of the current Type. |
GetFields Supported by the .NET Compact Framework. | Overloaded. Gets the fields of the current Type. |
GetHashCode Supported by the .NET Compact Framework. | Overridden. Returns the hash code for this instance. |
GetInterface | Overloaded. Gets a specific interface implemented or inherited by the current Type. |
GetInterfaceMap | Returns an interface mapping for the specified interface type. |
GetInterfaces Supported by the .NET Compact Framework. | When overridden in a derived class, gets all the interfaces implemented or inherited by the current Type. |
GetMember Supported by the .NET Compact Framework. | Overloaded. Gets the specified members of the current Type. |
GetMembers Supported by the .NET Compact Framework. | Overloaded. Gets the members (properties, methods, fields, events, and so on) of the current Type. |
GetMethod Supported by the .NET Compact Framework. | Overloaded. Gets a specific method of the current Type. |
GetMethods Supported by the .NET Compact Framework. | Overloaded. Gets the methods of the current Type. |
GetNestedType Supported by the .NET Compact Framework. | Overloaded. Gets a specific type nested within the current Type. |
GetNestedTypes Supported by the .NET Compact Framework. | Overloaded. Gets the types nested within the current Type. |
GetProperties Supported by the .NET Compact Framework. | Overloaded. Gets the properties of the current Type. |
GetProperty Supported by the .NET Compact Framework. | Overloaded. Gets a specific property of the current Type. |
![]() GetType Supported by the .NET Compact Framework. | Overloaded. Gets the Type with the specified name. |
![]() GetTypeArray | Gets the types of the objects in the specified array. |
![]() GetTypeCode Supported by the .NET Compact Framework. | Gets the underlying type code of the specified Type. |
![]() GetTypeFromCLSID | Overloaded. Gets the type associated with the specified class identifier (CLSID). |
![]() GetTypeFromHandle Supported by the .NET Compact Framework. | Gets the type referenced by the specified type handle. |
![]() GetTypeFromProgID | Overloaded. Gets the type associated with the specified program identifier (ProgID). |
![]() GetTypeHandle | Gets the handle for the Type of a specified object. |
InvokeMember Supported by the .NET Compact Framework. | Overloaded. Invokes a specific member of the current Type. |
IsAssignableFrom Supported by the .NET Compact Framework. | Determines whether an instance of the current Type can be assigned from an instance of the specified Type. |
IsDefined (inherited from MemberInfo)
Supported by the .NET Compact Framework. | When overridden in a derived class, indicates whether one or more instance of attributeType is defined on this member. |
IsInstanceOfType Supported by the .NET Compact Framework. | Determines whether the specified object is an instance of the current Type. |
IsSubclassOf Supported by the .NET Compact Framework. | Determines whether the current Type derives from the specified Type. |
ToString Supported by the .NET Compact Framework. | Overridden. Returns a String representing the name of the current Type. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
GetAttributeFlagsImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the Attributes property and gets a bitmask indicating the attributes associated with the Type. |
GetConstructorImpl Supported by the .NET Compact Framework. | When overridden in a derived class, searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention. |
GetMethodImpl Supported by the .NET Compact Framework. | When overridden in a derived class, searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention. |
GetPropertyImpl Supported by the .NET Compact Framework. | When overridden in a derived class, searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints. |
HasElementTypeImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the 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. |
IsArrayImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the IsArray property and determines whether the Type is an array. |
IsByRefImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the IsByRef property and determines whether the Type is passed by reference. |
IsCOMObjectImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the IsCOMObject property and determines whether the Type is a COM object. |
IsContextfulImpl | Implements the IsContextful property and determines whether the Type can be hosted in a context. |
IsMarshalByRefImpl | Implements the IsMarshalByRef property and determines whether the Type is marshalled by reference. |
IsPointerImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the IsPointer property and determines whether the Type is a pointer. |
IsPrimitiveImpl Supported by the .NET Compact Framework. | When overridden in a derived class, implements the IsPrimitive property and determines whether the Type is one of the primitive types. |
IsValueTypeImpl Supported by the .NET Compact Framework. | Implements the IsValueType property and determines whether the Type is a value type; that is, not a class or an interface. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
