2 out of 2 rated this helpful - Rate this topic

Type Methods

The Type type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object or Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindInterfaces Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type.
Public method FindMembers Returns a filtered array of MemberInfo objects of the specified member type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetArrayRank Gets the number of dimensions in an Array.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetAttributeFlagsImpl When overridden in a derived class, implements the Attributes property and gets a bitmask indicating the attributes associated with the Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetConstructor Overloaded. Gets a specific constructor of the current Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetConstructorImpl 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetConstructors Overloaded. Gets the constructors of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetCustomAttributes Overloaded. When overridden in a derived class, returns custom attributes applied to this member.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDefaultMembers Searches for the members defined for the current Type whose DefaultMemberAttribute is set.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEvent Overloaded. Gets a specific event declared or inherited by the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEvents Overloaded. Gets the events that are declared or inherited by the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetField Overloaded. Gets a specific field of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetFields Overloaded. Gets the fields of the current Type.
Public method 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.
Public method GetGenericParameterConstraints Returns an array of Type objects that represent the constraints on the current generic type parameter.
Public method GetGenericTypeDefinition Returns a Type object that represents a generic type definition from which the current generic type can be constructed.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetInterface Overloaded. Gets a specific interface implemented or inherited by the current Type.
Public method GetInterfaceMap Returns an interface mapping for the specified interface type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetInterfaces When overridden in a derived class, gets all the interfaces implemented or inherited by the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMember Overloaded. Gets the specified members of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMembers Overloaded. Gets the members (properties, methods, fields, events, and so on) of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMethod Overloaded. Gets a specific method of the current Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetMethodImpl 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMethods Overloaded. Gets the methods of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetNestedType Overloaded. Gets a specific type nested within the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetNestedTypes Overloaded. Gets the types nested within the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetProperties Overloaded. Gets the properties of the current Type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetProperty Overloaded. Gets a specific property of the current Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetPropertyImpl 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.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetType Overloaded. Gets a Type object that represents the specified type.
Public method Static member GetTypeArray Gets the types of the objects in the specified array.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetTypeCode Gets the underlying type code of the specified Type.
Public method Static member Supported by the .NET Compact Framework GetTypeFromCLSID Overloaded. Gets the type associated with the specified class identifier (CLSID).
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetTypeFromHandle Gets the type referenced by the specified type handle.
Public method Static member Supported by the .NET Compact Framework GetTypeFromProgID Overloaded. Gets the type associated with the specified program identifier (ProgID).
Public method Static member GetTypeHandle Gets the handle for the Type of a specified object.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework HasElementTypeImpl 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework InvokeMember Overloaded. Invokes a specific member of the current Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsArrayImpl When overridden in a derived class, implements the IsArray property and determines whether the Type is an array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsAssignableFrom Determines whether an instance of the current Type can be assigned from an instance of the specified Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsByRefImpl When overridden in a derived class, implements the IsByRef property and determines whether the Type is passed by reference.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsCOMObjectImpl When overridden in a derived class, implements the IsCOMObject property and determines whether the Type is a COM object.
Protected method IsContextfulImpl Implements the IsContextful property and determines whether the Type can be hosted in a context.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsDefined When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member. (Inherited from MemberInfo.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsInstanceOfType Determines whether the specified object is an instance of the current Type.
Protected method IsMarshalByRefImpl Implements the IsMarshalByRef property and determines whether the Type is marshaled by reference.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsPointerImpl When overridden in a derived class, implements the IsPointer property and determines whether the Type is a pointer.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsPrimitiveImpl When overridden in a derived class, implements the IsPrimitive property and determines whether the Type is one of the primitive types.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsSubclassOf Determines whether the class represented by the current Type derives from the class represented by the specified Type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework IsValueTypeImpl Implements the IsValueType property and determines whether the Type is a value type; that is, not a class or an interface.
Public method MakeArrayType Overloaded. Returns a Type object that represents an array of the current type.
Public method MakeByRefType Returns a Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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.
Public method MakePointerType Returns a Type object that represents a pointer to the current type.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member ReflectionOnlyGetType 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. The type is loaded for reflection only, not for execution.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a String representing the name of the current Type. (Overrides Object.ToString().)
Top
  NameDescription
Explicit interface implemetation Private method _Type.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implemetation Private method _MemberInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MemberInfo.GetType Gets a Type object representing the MemberInfo class. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _Type.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implemetation Private method _MemberInfo.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _Type.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implemetation Private method _MemberInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MemberInfo.)
Explicit interface implemetation Private method _Type.Invoke Provides access to properties and methods exposed by an object.
Explicit interface implemetation Private method _MemberInfo.Invoke Provides access to properties and methods exposed by an object. (Inherited from MemberInfo.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.