TypeDelegator Members
.NET Framework 3.0
Wraps a Type object and delegates all methods to that Type.
The following tables list the members exposed by the TypeDelegator type.
(see also
Protected Constructors
)
Top
| Name | Description | |
|---|---|---|
| TypeDelegator | Overloaded. Initializes a new instance of the TypeDelegator class. |
| Name | Description | |
|---|---|---|
| TypeDelegator | Overloaded. Initializes a new instance of the TypeDelegator class. |
| Name | Description | |
|---|---|---|
| Assembly | Overridden. Gets the assembly of the implemented type. |
| AssemblyQualifiedName | Overridden. Gets the assembly's fully qualified name. |
| Attributes | Gets the attributes associated with the Type.(inherited from Type) |
| BaseType | Overridden. Gets the base type for the current type. |
| ContainsGenericParameters | Gets a value indicating whether the current Type object has type parameters that have not been replaced by specific types.(inherited from Type) |
| DeclaringMethod | Gets a MethodBase that represents the declaring method, if the current Type represents a type parameter of a generic method.(inherited from Type) |
| DeclaringType | Gets the type that declares the current nested type or generic type parameter.(inherited from Type) |
| DefaultBinder | Gets a reference to the default binder, which implements internal rules for selecting the appropriate members to be called by InvokeMember.(inherited from Type) |
| FullName | Overridden. Gets the fully qualified name of the implemented type. |
| GenericParameterAttributes | Gets a combination of GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter. (inherited from Type) |
| GenericParameterPosition | 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.(inherited from Type) |
| GUID | Overridden. Gets the GUID (globally unique identifier) of the implemented type. |
| HasElementType | 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.(inherited from Type) |
| IsAbstract | Gets a value indicating whether the Type is abstract and must be overridden.(inherited from Type) |
| IsAnsiClass | Gets a value indicating whether the string format attribute AnsiClass is selected for the Type.(inherited from Type) |
| IsArray | Gets a value indicating whether the Type is an array.(inherited from Type) |
| IsAutoClass | Gets a value indicating whether the string format attribute AutoClass is selected for the Type.(inherited from Type) |
| IsAutoLayout | Gets a value indicating whether the class layout attribute AutoLayout is selected for the Type.(inherited from Type) |
| IsByRef | Gets a value indicating whether the Type is passed by reference.(inherited from Type) |
| IsClass | Gets a value indicating whether the Type is a class; that is, not a value type or interface.(inherited from Type) |
| IsCOMObject | Gets a value indicating whether the Type is a COM object.(inherited from Type) |
| IsContextful | Gets a value indicating whether the Type can be hosted in a context.(inherited from Type) |
| IsEnum | Gets a value indicating whether the current Type represents an enumeration.(inherited from Type) |
| IsExplicitLayout | Gets a value indicating whether the class layout attribute ExplicitLayout is selected for the Type.(inherited from Type) |
| IsGenericParameter | Gets a value indicating whether the current Type represents a type parameter in the definition of a generic type or method.(inherited from Type) |
| IsGenericType | Gets a value indicating whether the current type is a generic type.(inherited from Type) |
| IsGenericTypeDefinition | Gets a value indicating whether the current Type represents a generic type definition, from which other generic types can be constructed.(inherited from Type) |
| IsImport | Gets a value indicating whether the Type has a ComImportAttribute attribute applied, indicating that it was imported from a COM type library.(inherited from Type) |
| IsInterface | Gets a value indicating whether the Type is an interface; that is, not a class or a value type.(inherited from Type) |
| IsLayoutSequential | Gets a value indicating whether the class layout attribute SequentialLayout is selected for the Type.(inherited from Type) |
| IsMarshalByRef | Gets a value indicating whether the Type is marshaled by reference.(inherited from Type) |
| IsNested | Gets a value indicating whether the current Type object represents a type whose definition is nested inside the definition of another type.(inherited from Type) |
| IsNestedAssembly | Gets a value indicating whether the Type is nested and visible only within its own assembly.(inherited from Type) |
| IsNestedFamANDAssem | 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.(inherited from Type) |
| IsNestedFamily | Gets a value indicating whether the Type is nested and visible only within its own family.(inherited from Type) |
| IsNestedFamORAssem | 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.(inherited from Type) |
| IsNestedPrivate | Gets a value indicating whether the Type is nested and declared private.(inherited from Type) |
| IsNestedPublic | Gets a value indicating whether a class is nested and declared public.(inherited from Type) |
| IsNotPublic | Gets a value indicating whether the Type is not declared public.(inherited from Type) |
| IsPointer | Gets a value indicating whether the Type is a pointer.(inherited from Type) |
| IsPrimitive | Gets a value indicating whether the Type is one of the primitive types.(inherited from Type) |
| IsPublic | Gets a value indicating whether the Type is declared public.(inherited from Type) |
| IsSealed | Gets a value indicating whether the Type is declared sealed.(inherited from Type) |
| IsSerializable | Gets a value indicating whether the Type is serializable.(inherited from Type) |
| IsSpecialName | Gets a value indicating whether the Type has a name that requires special handling.(inherited from Type) |
| IsUnicodeClass | Gets a value indicating whether the string format attribute UnicodeClass is selected for the Type.(inherited from Type) |
| IsValueType | Gets a value indicating whether the Type is a value type.(inherited from Type) |
| IsVisible | Gets a value indicating whether the Type can be accessed by code outside the assembly.(inherited from Type) |
| MemberType | Gets a MemberTypes value indicating that this member is a type or a nested type.(inherited from Type) |
| MetadataToken | Overridden. Gets a value that identifies this entity in metadata. |
| Module | Overridden. Gets the module that contains the implemented type. |
| Name | Overridden. Gets the name of the implemented type, with the path removed. |
| Namespace | Overridden. Gets the namespace of the implemented type. |
| ReflectedType | Gets the class object that was used to obtain this member. (inherited from Type) |
| StructLayoutAttribute | Gets a StructLayoutAttribute that describes the layout of the current type.(inherited from Type) |
| TypeHandle | Overridden. Gets a handle to the internal metadata representation of an implemented type. |
| TypeInitializer | Gets the initializer for the Type.(inherited from Type) |
| UnderlyingSystemType | Overridden. Gets the underlying Type that represents the implemented type. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| 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. (inherited from Type) |
| FindInterfaces | Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type. (inherited from Type) |
| FindMembers | Returns a filtered array of MemberInfo objects of the specified member type. (inherited from Type) |
| GetArrayRank | Gets the number of dimensions in an Array. (inherited from Type) |
| GetConstructor | Overloaded. Gets a specific constructor of the current Type. (inherited from Type) |
| GetConstructors | Overloaded. Returns an array of ConstructorInfo objects representing constructors defined for the type wrapped by the current TypeDelegator object. |
| GetCustomAttributes | Overloaded. Overridden. Returns all the custom attributes defined for this type. |
| GetDefaultMembers | Searches for the members defined for the current Type whose DefaultMemberAttribute is set. (inherited from Type) |
| GetElementType | Overridden. Returns the Type of the object encompassed or referred to by the current array, pointer or ByRef. |
| GetEvent | Overloaded. Returns a EventInfo object representing an event of the type wrapped by the current TypeDelegator object. |
| GetEvents | Overloaded. Overridden. Returns an array of EventInfo objects representing all the public events declared or inherited by the current TypeDelegator. |
| GetField | Overloaded. Returns a FieldInfo object representing a field of the type wrapped by the current TypeDelegator object. |
| GetFields | Overloaded. Returns an array of FieldInfo objects representing data fields defined for the type wrapped by the current TypeDelegator object. |
| 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. (inherited from Type) |
| GetGenericParameterConstraints | Returns an array of Type objects that represent the constraints on the current generic type parameter. (inherited from Type) |
| GetGenericTypeDefinition | Returns a Type object that represents a generic type definition from which the current generic type can be constructed. (inherited from Type) |
| GetHashCode | Returns the hash code for this instance. (inherited from Type) |
| GetInterface | Overloaded. Returns an interface implemented by the type wrapped by the current TypeDelegator object. |
| GetInterfaceMap | Overridden. Returns an interface mapping for the specified interface type. |
| GetInterfaces | Overridden. Returns all the interfaces implemented on the current class and its base classes. |
| GetMember | Overloaded. Returns the specified member, such as a property, method, constructor, field, event, or nested type, of the type wrapped by the current TypeDelegator object. |
| GetMembers | Overloaded. Returns an array of MemberInfo objects representing members defined for the type wrapped by the current TypeDelegator object. |
| GetMethod | Overloaded. Gets a specific method of the current Type. (inherited from Type) |
| GetMethods | Overloaded. Returns an array of MethodInfo objects representing the methods of the type wrapped by the current TypeDelegator object. |
| GetNestedType | Overloaded. Returns a nested type declared or inherited by the type wrapped by the current TypeDelegator object. |
| GetNestedTypes | Overloaded. Returns the nested types that are declared or inherited by the type wrapped by the current TypeDelegator object. |
| GetProperties | Overloaded. Returns an array of PropertyInfo objects representing properties of the type wrapped by the current TypeDelegator object. |
| GetProperty | Overloaded. Gets a specific property of the current Type. (inherited from Type) |
| GetType | Overloaded. Gets a Type object that represents the specified type. (inherited from Type) |
| GetTypeArray | Gets the types of the objects in the specified array. (inherited from Type) |
| GetTypeCode | Gets the underlying type code of the specified Type. (inherited from Type) |
| GetTypeFromCLSID | Overloaded. Gets the type associated with the specified class identifier (CLSID). (inherited from Type) |
| GetTypeFromHandle | Gets the type referenced by the specified type handle. (inherited from Type) |
| GetTypeFromProgID | Overloaded. Gets the type associated with the specified program identifier (ProgID). (inherited from Type) |
| GetTypeHandle | Gets the handle for the Type of a specified object. (inherited from Type) |
| InvokeMember | Overloaded. Invokes the specified member of the type wrapped by the current TypeDelegator object. |
| IsAssignableFrom | Determines whether an instance of the current Type can be assigned from an instance of the specified Type. (inherited from Type) |
| IsDefined | Overridden. Indicates whether a custom attribute identified by attributeType is defined. |
| IsInstanceOfType | Determines whether the specified object is an instance of the current Type. (inherited from Type) |
| IsSubclassOf | Determines whether the class represented by the current Type derives from the class represented by the specified Type. (inherited from Type) |
| MakeArrayType | Overloaded. Returns a Type object that represents an array of the current type. (inherited from Type) |
| MakeByRefType | Returns a Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic). (inherited from Type) |
| 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. (inherited from Type) |
| MakePointerType | Returns a Type object that represents a pointer to the current type. (inherited from Type) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| 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. (inherited from Type) |
| ToString | Returns a String representing the name of the current Type. (inherited from Type) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| GetAttributeFlagsImpl | Overridden. Gets the attributes assigned to the TypeDelegator. |
| GetConstructorImpl | Overridden. Gets the constructor that implemented the TypeDelegator. |
| GetMethodImpl | Overridden. 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 | Overridden. 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 | Overridden. 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 a ByRef. |
| IsArrayImpl | Overridden. Gets a value indicating whether the Type is an array. |
| IsByRefImpl | Overridden. Gets a value indicating whether the Type is passed by reference. |
| IsCOMObjectImpl | Overridden. Gets a value indicating whether the Type is a COM object. |
| IsContextfulImpl | Implements the IsContextful property and determines whether the Type can be hosted in a context. (inherited from Type) |
| IsMarshalByRefImpl | Implements the IsMarshalByRef property and determines whether the Type is marshaled by reference. (inherited from Type) |
| IsPointerImpl | Overridden. Gets a value indicating whether the Type is a pointer. |
| IsPrimitiveImpl | Overridden. Gets a value indicating whether the Type is one of the primitive types. |
| IsValueTypeImpl | Overridden. Gets a value indicating whether the type is a value type; that is, not a class or an interface. |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |