System.Type Class

Represents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.

See Also: Type

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComDefaultInterface(typeof(System.Runtime.InteropServices._Type))]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class Type : MemberInfo, IReflect, _Type

Remarks

Type is the root of the System.Reflection functionality and is the primary way to access metadata. Use the members of Type to get information about a type declaration, such as the constructors, methods, fields, properties, and events of a class, as well as the module and the assembly in which the class is deployed.

The C# typeof operator (GetType operator in Visual Basic, typeid operator in Visual C++) returns a Type object.

A Type object that represents a type is unique; that is, two Type object references refer to the same object if and only if they represent the same type. This allows for comparison of Type objects using reference equality.

No permissions are required for code to use reflection to get information about types and their members, regardless of their access levels. No permissions are required for code to use reflection to access public members, or other members whose access levels would make them visible during normal compilation. However, in order for your code to use reflection to access members that would normally be inaccessible, such as private or internal methods, or protected fields of a type your class does not inherit, your code must have ReflectionPermission. See Security Considerations for Reflection.

Type is an abstract base class that allows multiple implementations. The system will always provide the derived class RuntimeType. In reflection, all classes beginning with the word Runtime are created only once per object in the system and support comparison operations.

Note:

In multithreading scenarios, do not lock Type objects in order to synchronize access to static data. Other code, over which you have no control, might also lock your class type. This might result in a deadlock. Instead, synchronize access to static data by locking a private static object.

This class is thread safe; multiple threads can concurrently read from an instance of this type. An instance of Type can represent any of the following types:

  • Classes

  • Value types

  • Arrays

  • Interfaces

  • Pointers

  • Enumerations

  • Constructed generic types and generic type definitions

  • Type arguments and type parameters of constructed generic types, generic type definitions, and generic method definitions

A reference to the Type object associated with a type can be obtained in the following ways:

Note:

A derived class can access protected members of the calling code's base classes. Also, access is allowed to assembly members of the calling code's assembly. As a rule, if you are allowed access in early-bound code, then you are also allowed access in late-bound code.

Note:

Interfaces that extend other interfaces do not inherit the methods defined in the extended interfaces.

Thread Safety

This type is safe for multithreaded operations.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0

The members of System.Type are listed below.

See Also: MemberInfo

Protected Constructors

Initializes a new instance of the Type class.

Public Fields

static readonly
DelimiterChar.

Separates names in the namespace of the Type. This field is read-only.

static readonly
EmptyTypesType[].

Represents an empty array of type Type. This field is read-only.

static readonly
FilterAttributeMemberFilter.

Represents the member filter used on attributes. This field is read-only.

static readonly
FilterNameMemberFilter.

Represents the case-sensitive member filter used on names. This field is read-only.

static readonly
FilterNameIgnoreCaseMemberFilter.

Represents the case-insensitive member filter used on names. This field is read-only.

static readonly
MissingObject (null).

Represents a missing value in the Type information. This field is read-only.

Public Properties

[read-only]
abstract
AssemblyAssembly.

Gets the Assembly in which the type is declared. For generic types, gets the Assembly in which the generic type is defined.

[read-only]
abstract
AssemblyQualifiedNameString.

Gets the assembly-qualified name of the Type, which includes the name of the assembly from which the Type was loaded.

[read-only]
AttributesTypeAttributes.

Gets the attributes associated with the Type.

[read-only]
abstract
BaseTypeType.

Gets the type from which the current Type directly inherits.

[read-only]
ContainsGenericParametersBoolean.

Gets a value indicating whether the current Type object has type parameters that have not been replaced by specific types.

[read-only]
DeclaringMethodMethodBase.

Gets a MethodBase that represents the declaring method, if the current Type represents a type parameter of a generic method.

[read-only]
override
DeclaringTypeType.

Gets the type that declares the current nested type or generic type parameter.

[read-only]
static
DefaultBinderBinder.

Gets a reference to the default binder, which implements internal rules for selecting the appropriate members to be called by Type.InvokeMember(String,BindingFlags,Binder,Object,Object[],ParameterModifier[],CultureInfo,String[]).

[read-only]
abstract
FullNameString.

Gets the fully qualified name of the Type, including the namespace of the Type but not the assembly.

[read-only]
GenericParameterAttributesGenericParameterAttributes.

Gets a combination of GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter.

[read-only]
GenericParameterPositionInt32.

Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter, when the Type object represents a type parameter of a generic type or a generic method.

[read-only]
GenericTypeArgumentsType[].

Gets an array of the generic type arguments for this type.

[read-only]
abstract
GUIDGuid.

Gets the GUID associated with the Type.

[read-only]
HasElementTypeBoolean.

Gets a value indicating 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.

[read-only]
IsAbstractBoolean.

Gets a value indicating whether the Type is abstract and must be overridden.

[read-only]
IsAnsiClassBoolean.

Gets a value indicating whether the string format attribute AnsiClass is selected for the Type.

[read-only]
IsArrayBoolean.

Gets a value indicating whether the Type is an array.

[read-only]
IsAutoClassBoolean.

Gets a value indicating whether the string format attribute AutoClass is selected for the Type.

[read-only]
IsAutoLayoutBoolean.

Gets a value indicating whether the fields of the current type are laid out automatically by the common language runtime.

[read-only]
IsByRefBoolean.

Gets a value indicating whether the Type is passed by reference.

[read-only]
IsClassBoolean.

Gets a value indicating whether the Type is a class; that is, not a value type or interface.

[read-only]
IsCOMObjectBoolean.

Gets a value indicating whether the Type is a COM object.

[read-only]
IsConstructedGenericTypeBoolean.

Gets a value that indicates whether this object represents a constructed generic type. You can create instances of a constructed generic type.

[read-only]
IsContextfulBoolean.

Gets a value indicating whether the Type can be hosted in a context.

[read-only]
IsEnumBoolean.

Gets a value indicating whether the current Type represents an enumeration.

[read-only]
IsExplicitLayoutBoolean.

Gets a value indicating whether the fields of the current type are laid out at explicitly specified offsets.

[read-only]
IsGenericParameterBoolean.

Gets a value indicating whether the current Type represents a type parameter in the definition of a generic type or method.

[read-only]
IsGenericTypeBoolean.

Gets a value indicating whether the current type is a generic type.

[read-only]
IsGenericTypeDefinitionBoolean.

Gets a value indicating whether the current Type represents a generic type definition, from which other generic types can be constructed.

[read-only]
IsImportBoolean.

Gets a value indicating whether the Type has a ComImportAttribute attribute applied, indicating that it was imported from a COM type library.

[read-only]
IsInterfaceBoolean.

Gets a value indicating whether the Type is an interface; that is, not a class or a value type.

[read-only]
IsLayoutSequentialBoolean.

Gets a value indicating whether the fields of the current type are laid out sequentially, in the order that they were defined or emitted to the metadata.

[read-only]
IsMarshalByRefBoolean.

Gets a value indicating whether the Type is marshaled by reference.

[read-only]
IsNestedBoolean.

Gets a value indicating whether the current Type object represents a type whose definition is nested inside the definition of another type.

[read-only]
IsNestedAssemblyBoolean.

Gets a value indicating whether the Type is nested and visible only within its own assembly.

[read-only]
IsNestedFamANDAssemBoolean.

Gets a value indicating whether the Type is nested and visible only to classes that belong to both its own family and its own assembly.

[read-only]
IsNestedFamilyBoolean.

Gets a value indicating whether the Type is nested and visible only within its own family.

[read-only]
IsNestedFamORAssemBoolean.

Gets a value indicating whether the Type is nested and visible only to classes that belong to either its own family or to its own assembly.

[read-only]
IsNestedPrivateBoolean.

Gets a value indicating whether the Type is nested and declared private.

[read-only]
IsNestedPublicBoolean.

Gets a value indicating whether a class is nested and declared public.

[read-only]
IsNotPublicBoolean.

Gets a value indicating whether the Type is not declared public.

[read-only]
IsPointerBoolean.

Gets a value indicating whether the Type is a pointer.

[read-only]
IsPrimitiveBoolean.

Gets a value indicating whether the Type is one of the primitive types.

[read-only]
IsPublicBoolean.

Gets a value indicating whether the Type is declared public.

[read-only]
IsSealedBoolean.

Gets a value indicating whether the Type is declared sealed.

[read-only]
IsSecurityCriticalBoolean.

Gets a value that indicates whether the current type is security-critical or security-safe-critical at the current trust level, and therefore can perform critical operations.

[read-only]
IsSecuritySafeCriticalBoolean.

Gets a value that indicates whether the current type is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.

[read-only]
IsSecurityTransparentBoolean.

Gets a value that indicates whether the current type is transparent at the current trust level, and therefore cannot perform critical operations.

[read-only]
IsSerializableBoolean.

Gets a value indicating whether the Type is serializable.

[read-only]
IsSpecialNameBoolean.

Gets a value indicating whether the Type has a name that requires special handling.

[read-only]
IsUnicodeClassBoolean.

Gets a value indicating whether the string format attribute UnicodeClass is selected for the Type.

[read-only]
IsValueTypeBoolean.

Gets a value indicating whether the Type is a value type.

[read-only]
IsVisibleBoolean.

Gets a value indicating whether the Type can be accessed by code outside the assembly.

[read-only]
override
MemberTypeMemberTypes.

Gets a MemberTypes value indicating that this member is a type or a nested type.

[read-only]
abstract
ModuleModule.

Gets the module (the DLL) in which the current Type is defined.

[read-only]
abstract
NamespaceString.

Gets the namespace of the Type.

[read-only]
override
ReflectedTypeType.

Gets the class object that was used to obtain this member.

[read-only]
StructLayoutAttributeStructLayoutAttribute.

Gets a StructLayoutAttribute that describes the layout of the current type.

[read-only]
TypeHandleRuntimeTypeHandle.

Gets the handle for the current Type.

[read-only]
TypeInitializerConstructorInfo.

Gets the initializer for the Type.

[read-only]
abstract
UnderlyingSystemTypeType.

Indicates the type provided by the common language runtime that represents this type.

Public Methods

override
Equals(Object) : Boolean

Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object.

Equals(Type) : Boolean

Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Type.

FindInterfaces(TypeFilter, Object) : Type[]

Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type.

FindMembers(MemberTypes, BindingFlags, MemberFilter, Object) : MemberInfo[]

Returns a filtered array of MemberInfo objects of the specified member type.

GetArrayRank() : Int32

Gets the number of dimensions in an Array.

GetConstructor(Type[]) : ConstructorInfo

Searches for a public instance constructor whose parameters match the types in the specified array.

GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) : ConstructorInfo

Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints.

GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : ConstructorInfo

Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.

GetConstructors() : ConstructorInfo[]

Returns all the public constructors defined for the current Type.

abstract
GetConstructors(BindingFlags) : ConstructorInfo[]

When overridden in a derived class, searches for the constructors defined for the current Type, using the specified BindingFlags.

GetDefaultMembers() : MemberInfo[]

Searches for the members defined for the current Type whose DefaultMemberAttribute is set.

abstract
GetElementType() : Type

When overridden in a derived class, returns the Type of the object encompassed or referred to by the current array, pointer or reference type.

GetEnumName(Object) : String

Returns the name of the constant that has the specified value, for the current enumeration type.

GetEnumNames() : String[]

Returns the names of the members of the current enumeration type.

GetEnumUnderlyingType() : Type

Returns the underlying type of the current enumeration type.

GetEnumValues() : Array

Returns an array of the values of the constants in the current enumeration type.

GetEvent(String) : EventInfo

Returns the EventInfo object representing the specified public event.

abstract
GetEvent(String, BindingFlags) : EventInfo

When overridden in a derived class, returns the EventInfo object representing the specified event, using the specified binding constraints.

GetEvents() : EventInfo[]

Returns all the public events that are declared or inherited by the current Type.

abstract
GetEvents(BindingFlags) : EventInfo[]

When overridden in a derived class, searches for events that are declared or inherited by the current Type, using the specified binding constraints.

GetField(String) : FieldInfo

Searches for the public field with the specified name.

abstract
GetField(String, BindingFlags) : FieldInfo

Searches for the specified field, using the specified binding constraints.

GetFields() : FieldInfo[]

Returns all the public fields of the current Type.

abstract
GetFields(BindingFlags) : FieldInfo[]

When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints.

GetGenericArguments() : Type[]

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() : Type[]

Returns an array of Type objects that represent the constraints on the current generic type parameter.

GetGenericTypeDefinition() : Type

Returns a Type object that represents a generic type definition from which the current generic type can be constructed.

override
GetHashCode() : Int32

Returns the hash code for this instance.

GetInterface(String) : Type

Searches for the interface with the specified name.

abstract
GetInterface(String, Boolean) : Type

When overridden in a derived class, searches for the specified interface, specifying whether to do a case-insensitive search for the interface name.

GetInterfaceMap(Type) : InterfaceMapping

Returns an interface mapping for the specified interface type.

abstract
GetInterfaces() : Type[]

When overridden in a derived class, gets all the interfaces implemented or inherited by the current Type.

GetMember(String) : MemberInfo[]

Searches for the public members with the specified name.

GetMember(String, BindingFlags) : MemberInfo[]

Searches for the specified members, using the specified binding constraints.

GetMember(String, MemberTypes, BindingFlags) : MemberInfo[]

Searches for the specified members of the specified member type, using the specified binding constraints.

GetMembers() : MemberInfo[]

Returns all the public members of the current Type.

abstract
GetMembers(BindingFlags) : MemberInfo[]

When overridden in a derived class, searches for the members defined for the current Type, using the specified binding constraints.

GetMethod(String) : MethodInfo

Searches for the public method with the specified name.

GetMethod(String, BindingFlags) : MethodInfo

Searches for the specified method, using the specified binding constraints.

GetMethod(String, Type[]) : MethodInfo

Searches for the specified public method whose parameters match the specified argument types.

GetMethod(String, Type[], ParameterModifier[]) : MethodInfo

Searches for the specified public method whose parameters match the specified argument types and modifiers.

GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) : MethodInfo

Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.

GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.

GetMethods() : MethodInfo[]

Returns all the public methods of the current Type.

abstract
GetMethods(BindingFlags) : MethodInfo[]

When overridden in a derived class, searches for the methods defined for the current Type, using the specified binding constraints.

GetNestedType(String) : Type

Searches for the public nested type with the specified name.

abstract
GetNestedType(String, BindingFlags) : Type

When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.

GetNestedTypes() : Type[]

Returns the public types nested in the current Type.

abstract
GetNestedTypes(BindingFlags) : Type[]

When overridden in a derived class, searches for the types nested in the current Type, using the specified binding constraints.

GetProperties() : PropertyInfo[]

Returns all the public properties of the current Type.

abstract
GetProperties(BindingFlags) : PropertyInfo[]

When overridden in a derived class, searches for the properties of the current Type, using the specified binding constraints.

GetProperty(String) : PropertyInfo

Searches for the public property with the specified name.

GetProperty(String, BindingFlags) : PropertyInfo

Searches for the specified property, using the specified binding constraints.

GetProperty(String, Type) : PropertyInfo

Searches for the public property with the specified name and return type.

GetProperty(String, Type[]) : PropertyInfo

Searches for the specified public property whose parameters match the specified argument types.

GetProperty(String, Type, Type[]) : PropertyInfo

Searches for the specified public property whose parameters match the specified argument types.

GetProperty(String, Type, Type[], ParameterModifier[]) : PropertyInfo

Searches for the specified public property whose parameters match the specified argument types and modifiers.

GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) : PropertyInfo

Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.

GetType() : Type

Gets the current Type.

static
GetType(String) : Type

Gets the Type with the specified name, performing a case-sensitive search.

static
GetType(String, Boolean) : Type

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.

static
GetType(String, Boolean, Boolean) : Type

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.

static
GetType(String, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>) : Type

Gets the type with the specified name, optionally providing custom methods to resolve the assembly and the type.

static
GetType(String, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>, Boolean) : Type

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.

static
GetType(String, Func<System.Reflection.AssemblyName, System.Reflection.Assembly>, Func<System.Reflection.Assembly, string, bool, Type>, Boolean, Boolean) : Type

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.

static
GetTypeArray(Object[]) : Type[]

Gets the types of the objects in the specified array.

static
GetTypeCode(Type) : TypeCode

Gets the underlying type code of the specified Type.

static
GetTypeFromCLSID(Guid) : Type

Gets the type associated with the specified class identifier (CLSID).

static
GetTypeFromCLSID(Guid, Boolean) : Type

Gets the type associated with the specified class identifier (CLSID), specifying whether to throw an exception if an error occurs while loading the type.

static
GetTypeFromCLSID(Guid, String) : Type

Gets the type associated with the specified class identifier (CLSID) from the specified server.

static
GetTypeFromCLSID(Guid, String, Boolean) : Type

Gets the type associated with the specified class identifier (CLSID) from the specified server, specifying whether to throw an exception if an error occurs while loading the type.

static
GetTypeFromHandle(RuntimeTypeHandle) : Type

Gets the type referenced by the specified type handle.

static
GetTypeFromProgID(String) : Type

Gets the type associated with the specified program identifier (ProgID), returning null if an error is encountered while loading the Type.

static
GetTypeFromProgID(String, Boolean) : Type

Gets the type associated with the specified program identifier (ProgID), specifying whether to throw an exception if an error occurs while loading the type.

static
GetTypeFromProgID(String, String) : Type

Gets the type associated with the specified program identifier (progID) from the specified server, returning null if an error is encountered while loading the type.

static
GetTypeFromProgID(String, String, Boolean) : Type

Gets the type associated with the specified program identifier (progID) from the specified server, specifying whether to throw an exception if an error occurs while loading the type.

static
GetTypeHandle(Object) : RuntimeTypeHandle

Gets the handle for the Type of a specified object.

InvokeMember(String, BindingFlags, Binder, Object, Object[]) : Object

Invokes the specified member, using the specified binding constraints and matching the specified argument list.

InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo) : Object

Invokes the specified member, using the specified binding constraints and matching the specified argument list and culture.

abstract
InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) : Object

When overridden in a derived class, invokes the specified member, using the specified binding constraints and matching the specified argument list, modifiers and culture.

IsAssignableFrom(Type) : Boolean

Determines whether an instance of the current Type can be assigned from an instance of the specified Type.

IsEnumDefined(Object) : Boolean

Returns a value that indicates whether the specified value exists in the current enumeration type.

IsEquivalentTo(Type) : Boolean

Determines whether two COM types have the same identity and are eligible for type equivalence.

IsInstanceOfType(Object) : Boolean

Determines whether the specified object is an instance of the current Type.

IsSubclassOf(Type) : Boolean

Determines whether the class represented by the current Type derives from the class represented by the specified Type.

MakeArrayType() : Type

Returns a Type object representing a one-dimensional array of the current type, with a lower bound of zero.

MakeArrayType(Int32) : Type

Returns a Type object representing an array of the current type, with the specified number of dimensions.

MakeByRefType() : Type

Returns a Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).

MakeGenericType(params Type[]) : Type

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.

MakePointerType() : Type

Returns a Type object that represents a pointer to the current type.

static
ReflectionOnlyGetType(String, Boolean, Boolean) : Type

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.

override
ToString() : String

Returns a String representing the name of the current Type.

Protected Methods

abstract
GetAttributeFlagsImpl() : TypeAttributes

When overridden in a derived class, implements the Type.Attributes property and gets a bitmask indicating the attributes associated with the Type.

abstract
GetConstructorImpl(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : ConstructorInfo

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.

abstract
GetMethodImpl(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

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.

abstract
GetPropertyImpl(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) : PropertyInfo

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.

GetTypeCodeImpl() : TypeCode

Returns the underlying type code of the specified Type.

abstract
HasElementTypeImpl() : Boolean

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() : Boolean

When overridden in a derived class, implements the Type.IsArray property and determines whether the Type is an array.

abstract
IsByRefImpl() : Boolean

When overridden in a derived class, implements the Type.IsByRef property and determines whether the Type is passed by reference.

abstract
IsCOMObjectImpl() : Boolean

When overridden in a derived class, implements the Type.IsCOMObject property and determines whether the Type is a COM object.

IsContextfulImpl() : Boolean

Implements the Type.IsContextful property and determines whether the Type can be hosted in a context.

IsMarshalByRefImpl() : Boolean

Implements the Type.IsMarshalByRef property and determines whether the Type is marshaled by reference.

abstract
IsPointerImpl() : Boolean

When overridden in a derived class, implements the Type.IsPointer property and determines whether the Type is a pointer.

abstract
IsPrimitiveImpl() : Boolean

When overridden in a derived class, implements the Type.IsPrimitive property and determines whether the Type is one of the primitive types.

IsValueTypeImpl() : Boolean

Implements the Type.IsValueType property and determines whether the Type is a value type; that is, not a class or an interface.

Public Operators

static
Equality(Type, Type)

Indicates whether two Type objects are equal.

static
Inequality(Type, Type)

Indicates whether two Type objects are not equal.

Explicitly Implemented Interface Members