NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type Methods

The methods of the Type class are listed below. For a complete list of Type class members, see the Type Members topic.

Public:

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.
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 When implemented by a derived class, gets the number of dimensions in an Array.
GetConstructor Overloaded. Gets a specific constructor of the current Type.
GetConstructors Overloaded. Gets the constructors of the current Type.
GetCustomAttributes (inherited from MemberInfo) Overloaded. Returns all attributes defined on this member.
GetDefaultMembers Searches for the members defined for the current Type whose DefaultMemberAttribute is set.
GetElementType When implemented by a derived class, Returns the Type of the element.
GetEvent Overloaded. Gets a specific event declared or inherited by the current Type.
GetEvents Overloaded. Gets the events which are declared or inherited by the current Type.
GetField Overloaded. Gets a specific field of the current Type.
GetFields Overloaded. Gets the fields of the current Type.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetInterface Overloaded. Gets a specific interface implemented or inherited by the current Type.
GetInterfaceMap When implemented by a derived class, returns an interface mapping for the specified interface type.
GetInterfaces When implemented by a derived class, gets all the interfaces implemented or inherited by the current Type.
GetMember Overloaded. Gets the specified members of the current Type.
GetMembers Overloaded. Gets the members (properties, methods, fields, events, and so on) of the current Type.
GetMethod Overloaded. Gets a specific method of the current Type.
GetMethods Overloaded. Gets the methods of the current Type.
GetNestedType Overloaded. Gets a specific type nested within the current Type.
GetNestedTypes Overloaded. Gets the types nested within the current Type.
GetProperties Overloaded. Gets the properties of the current Type.
GetProperty Overloaded. Gets a specific property of the current Type.
GetType (inherited from Object) Gets the Type of the Object.
GetTypeArray Gets the types of the objects in the specified array.
GetTypeCode Gets the underlying type code of the specified Type.
GetTypeFromHandle 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 an object.
InvokeMember Overloaded. Invokes a specific member of the current Type; essentially calls a constructor member or a method member, gets or sets a property member, gets or sets a data field member, or gets or sets an element of an array member.
IsAssignableFrom Determines whether an instance of the specified type can be assigned to the current Type instance.
IsDefined (inherited from MemberInfo) Returns a Boolean if one or more instance of attributeType is defined on this member.
IsInstanceOfType Determines whether the specified object is an instance of the Type.
IsSubclassOf Determines whether the current Type is a subclass of the specified class.
ToString Returns a String representing the name of the current Type.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetAttributeFlagsImpl Implements the Attributes property and, when implemented by a derived class, gets a bitmask indicating the attributes associated with the Type.
GetConstructorImpl Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
GetMethodImpl 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 When implemented by a derived class, searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.
HasElementTypeImpl Implements the HasElementType property and, when implemented by a derived class, determines whether the Type...
IsArrayImpl Implements the IsArray property and, when implemented by a derived class, determines whether the Type is an array.
IsByRefImpl Implements the IsByRef property and, when implemented by a derived class, determines whether the Type is passed by reference.
IsCOMObjectImpl Implements the IsCOMObject property and, when implemented by a derived class, 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 Implements the IsPointer property and, when implemented by a derived class, determines whether the Type is a pointer.
IsPrimitiveImpl Implements the IsPrimitive property and, when implemented by a derived class, determines whether the Type is one of the primitive types.
IsValueTypeImpl Implements the IsValueType property and, when implemented by a derived class, determines whether the Type is a value type; that is, not a class or an interface.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Type Class | System Namespace