Export (0) Print
Expand All

TypeDelegator Members

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 )
  Name Description
Public method TypeDelegator Overloaded. Initializes a new instance of the TypeDelegator class.
Top

  Name Description
Protected method TypeDelegator Overloaded. Initializes a new instance of the TypeDelegator class.
Top

  Name Description
Protected field typeImpl A value indicating type information.
Top

  Name Description
Public property Assembly Overridden. Gets the assembly of the implemented type.
Public property AssemblyQualifiedName Overridden. Gets the assembly's fully qualified name.
Public property Attributes  Gets the attributes associated with the Type.(Inherited from Type.)
Public property BaseType Overridden. Gets the base type for the current type.
Public property ContainsGenericParameters  Gets a value indicating whether the current Type object has type parameters that have not been replaced by specific types.(Inherited from Type.)
Public property DeclaringMethod  Gets a MethodBase that represents the declaring method, if the current Type represents a type parameter of a generic method.(Inherited from Type.)
Public property DeclaringType  Gets the class that declares this member.(Inherited from Type.)
Public property Static 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.)
Public property FullName Overridden. Gets the fully qualified name of the implemented type.
Public property GenericParameterAttributes  Gets a combination of GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter. (Inherited from Type.)
Public property 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.)
Public property GUID Overridden. Gets the GUID (globally unique identifier) of the implemented type.
Public property 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.)
Public property IsAbstract  Gets a value indicating whether the Type is abstract and must be overridden.(Inherited from Type.)
Public property IsAnsiClass  Gets a value indicating whether the string format attribute AnsiClass is selected for the Type.(Inherited from Type.)
Public property IsArray  Gets a value indicating whether the Type is an array.(Inherited from Type.)
Public property IsAutoClass  Gets a value indicating whether the string format attribute AutoClass is selected for the Type.(Inherited from Type.)
Public property IsAutoLayout  Gets a value indicating whether the class layout attribute AutoLayout is selected for the Type.(Inherited from Type.)
Public property IsByRef  Gets a value indicating whether the Type is passed by reference.(Inherited from Type.)
Public property IsClass  Gets a value indicating whether the Type is a class; that is, not a value type or interface.(Inherited from Type.)
Public property IsCOMObject  Gets a value indicating whether the Type is a COM object.(Inherited from Type.)
Public property IsContextful  Gets a value indicating whether the Type can be hosted in a context.(Inherited from Type.)
Public property IsEnum  Gets a value indicating whether the current Type represents an enumeration.(Inherited from Type.)
Public property IsExplicitLayout  Gets a value indicating whether the class layout attribute ExplicitLayout is selected for the Type.(Inherited from Type.)
Public property 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.)
Public property IsGenericType  Gets a value indicating whether the current type is a generic type.(Inherited from Type.)
Public property 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.)
Public property 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.)
Public property IsInterface  Gets a value indicating whether the Type is an interface; that is, not a class or a value type.(Inherited from Type.)
Public property IsLayoutSequential  Gets a value indicating whether the class layout attribute SequentialLayout is selected for the Type.(Inherited from Type.)
Public property IsMarshalByRef  Gets a value indicating whether the Type is marshaled by reference.(Inherited from Type.)
Public property 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.)
Public property IsNestedAssembly  Gets a value indicating whether the Type is nested and visible only within its own assembly.(Inherited from Type.)
Public property 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.)
Public property IsNestedFamily  Gets a value indicating whether the Type is nested and visible only within its own family.(Inherited from Type.)
Public property 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.)
Public property IsNestedPrivate  Gets a value indicating whether the Type is nested and declared private.(Inherited from Type.)
Public property IsNestedPublic  Gets a value indicating whether a class is nested and declared public.(Inherited from Type.)
Public property IsNotPublic  Gets a value indicating whether the Type is not declared public.(Inherited from Type.)
Public property IsPointer  Gets a value indicating whether the Type is a pointer.(Inherited from Type.)
Public property IsPrimitive  Gets a value indicating whether the Type is one of the primitive types.(Inherited from Type.)
Public property IsPublic  Gets a value indicating whether the Type is declared public.(Inherited from Type.)
Public property IsSealed  Gets a value indicating whether the Type is declared sealed.(Inherited from Type.)
Public property IsSerializable  Gets a value indicating whether the Type is serializable.(Inherited from Type.)
Public property IsSpecialName  Gets a value indicating whether the Type has a name that requires special handling.(Inherited from Type.)
Public property IsUnicodeClass  Gets a value indicating whether the string format attribute UnicodeClass is selected for the Type.(Inherited from Type.)
Public property IsValueType  Gets a value indicating whether the Type is a value type.(Inherited from Type.)
Public property IsVisible  Gets a value indicating whether the Type can be accessed by code outside the assembly.(Inherited from Type.)
Public property MemberType  Gets a MemberTypes value indicating that this member is a type or a nested type.(Inherited from Type.)
Public property MetadataToken Overridden. Gets a value that identifies this entity in metadata.
Public property Module Overridden. Gets the module that contains the implemented type.
Public property Name Overridden. Gets the name of the implemented type, with the path removed.
Public property Namespace Overridden. Gets the namespace of the implemented type.
Public property ReflectedType  Gets the class object that was used to obtain this member.(Inherited from Type.)
Public property StructLayoutAttribute  Gets a StructLayoutAttribute that describes the layout of the current type.(Inherited from Type.)
Public property TypeHandle Overridden. Gets a handle to the internal metadata representation of an implemented type.
Public property TypeInitializer  Gets the initializer for the Type.(Inherited from Type.)
Public property UnderlyingSystemType Overridden. Gets the underlying Type that represents the implemented type.
Top

(see also Protected Methods )
  Name Description
Public method 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.)
Public method FindInterfaces  Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type. (Inherited from Type.)
Public method FindMembers  Returns a filtered array of MemberInfo objects of the specified member type. (Inherited from Type.)
Public method GetArrayRank  Gets the number of dimensions in an Array. (Inherited from Type.)
Public method GetConstructor  Overloaded. Gets a specific constructor of the current Type. (Inherited from Type.)
Public method GetConstructors Overloaded. Returns an array of ConstructorInfo objects representing constructors defined for the type wrapped by the current TypeDelegator object.
Public method GetCustomAttributes Overloaded. Overridden. Returns all the custom attributes defined for this type.
Public method GetDefaultMembers  Searches for the members defined for the current Type whose DefaultMemberAttribute is set. (Inherited from Type.)
Public method GetElementType Overridden. Returns the Type of the object encompassed or referred to by the current array, pointer or ByRef.
Public method GetEvent Overloaded. Returns a EventInfo object representing an event of the type wrapped by the current TypeDelegator object.
Public method GetEvents Overloaded. Overridden. Returns an array of EventInfo objects representing all the public events declared or inherited by the current TypeDelegator.
Public method GetField Overloaded. Returns a FieldInfo object representing a field of the type wrapped by the current TypeDelegator object.
Public method GetFields Overloaded. Returns an array of FieldInfo objects representing data fields defined for the type wrapped by the current TypeDelegator object.
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. (Inherited from Type.)
Public method GetGenericParameterConstraints  Returns an array of Type objects that represent the constraints on the current generic type parameter. (Inherited from Type.)
Public method GetGenericTypeDefinition  Returns a Type object that represents a generic type definition from which the current generic type can be constructed. (Inherited from Type.)
Public method GetHashCode  Returns the hash code for this instance. (Inherited from Type.)
Public method GetInterface Overloaded. Returns an interface implemented by the type wrapped by the current TypeDelegator object.
Public method GetInterfaceMap Overridden. Returns an interface mapping for the specified interface type.
Public method GetInterfaces Overridden. Returns all the interfaces implemented on the current class and its base classes.
Public method 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.
Public method GetMembers Overloaded. Returns an array of MemberInfo objects representing members defined for the type wrapped by the current TypeDelegator object.
Public method GetMethod  Overloaded. Gets a specific method of the current Type. (Inherited from Type.)
Public method GetMethods Overloaded. Returns an array of MethodInfo objects representing the methods of the type wrapped by the current TypeDelegator object.
Public method GetNestedType Overloaded. Returns a nested type declared or inherited by the type wrapped by the current TypeDelegator object.
Public method GetNestedTypes Overloaded. Returns the nested types that are declared or inherited by the type wrapped by the current TypeDelegator object.
Public method GetProperties Overloaded. Returns an array of PropertyInfo objects representing properties of the type wrapped by the current TypeDelegator object.
Public method GetProperty  Overloaded. Gets a specific property of the current Type. (Inherited from Type.)
Public method GetType  Overloaded. Gets a Type object that represents the specified type. (Inherited from Type.)
Public method Static GetTypeArray  Gets the types of the objects in the specified array. (Inherited from Type.)
Public method Static GetTypeCode  Gets the underlying type code of the specified Type. (Inherited from Type.)
Public method Static GetTypeFromCLSID  Overloaded. Gets the type associated with the specified class identifier (CLSID). (Inherited from Type.)
Public method Static GetTypeFromHandle  Gets the type referenced by the specified type handle. (Inherited from Type.)
Public method Static GetTypeFromProgID  Overloaded. Gets the type associated with the specified program identifier (ProgID). (Inherited from Type.)
Public method Static GetTypeHandle  Gets the handle for the Type of a specified object. (Inherited from Type.)
Public method InvokeMember Overloaded. Invokes the specified member of the type wrapped by the current TypeDelegator object.
Public method IsAssignableFrom  Determines whether an instance of the current Type can be assigned from an instance of the specified Type. (Inherited from Type.)
Public method IsDefined Overridden. Indicates whether a custom attribute identified by attributeType is defined.
Public method IsInstanceOfType  Determines whether the specified object is an instance of the current Type. (Inherited from Type.)
Public method IsSubclassOf  Determines whether the class represented by the current Type derives from the class represented by the specified Type. (Inherited from Type.)
Public method MakeArrayType  Overloaded. Returns a Type object that represents an array of the current type. (Inherited from Type.)
Public method MakeByRefType  Returns a Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic). (Inherited from Type.)
Public method 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.)
Public method MakePointerType  Returns a Type object that represents a pointer to the current type. (Inherited from Type.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static 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.)
Public method ToString  Returns a String representing the name of the current Type. (Inherited from Type.)
Top

  Name Description
Protected method 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.)
Protected method GetAttributeFlagsImpl Overridden. Gets the attributes assigned to the TypeDelegator.
Protected method GetConstructorImpl Overridden. Gets the constructor that implemented the TypeDelegator.
Protected method 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.
Protected method 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.
Protected method 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.
Protected method IsArrayImpl Overridden. Gets a value indicating whether the Type is an array.
Protected method IsByRefImpl Overridden. Gets a value indicating whether the Type is passed by reference.
Protected method IsCOMObjectImpl Overridden. Gets a value indicating 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. (Inherited from Type.)
Protected method IsMarshalByRefImpl  Implements the IsMarshalByRef property and determines whether the Type is marshaled by reference. (Inherited from Type.)
Protected method IsPointerImpl Overridden. Gets a value indicating whether the Type is a pointer.
Protected method IsPrimitiveImpl Overridden. Gets a value indicating whether the Type is one of the primitive types.
Protected method IsValueTypeImpl Overridden. Gets a value indicating whether the type is a value type; that is, not a class or an interface.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft