Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GenericTypeParameterBuilder Members

Defines and creates generic type parameters for dynamically defined generic types and methods. This class cannot be inherited.

The following tables list the members exposed by the GenericTypeParameterBuilder type.

  Name Description
Public property Assembly Overridden. Gets an Assembly object representing the dynamic assembly that contains the generic type definition the current type parameter belongs to.
Public property AssemblyQualifiedName Overridden. Gets a null reference (Nothing in Visual Basic) in all cases.
Public property Attributes  Gets the attributes associated with the Type.(Inherited from Type.)
Public property BaseType Overridden. Gets the base type constraint of the current generic type parameter.
Public property ContainsGenericParameters Overridden. Gets false in all cases.
Public property DeclaringMethod Overridden. Gets a MethodInfo that represents the declaring method, if the current GenericTypeParameterBuilder represents a type parameter of a generic method.
Public property DeclaringType Overridden. Gets the generic type definition or generic method definition to which the generic type parameter belongs.
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 a null reference (Nothing in Visual Basic) in all cases.
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 Overridden. Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter.
Public property GUID Overridden. Not supported for incomplete generic type parameters.
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 Overridden. Gets true in all cases.
Public property IsGenericType Overridden. Returns false in all cases.
Public property IsGenericTypeDefinition Overridden. Gets false in all cases.
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  Gets a value that identifies a metadata element.(Inherited from MemberInfo.)
Public property Module Overridden. Gets the dynamic module that contains the generic type parameter.
Public property Name Overridden. Gets the name of the generic type parameter.
Public property Namespace Overridden. Gets a null reference (Nothing in Visual Basic) in all cases.
Public property ReflectedType Overridden. Gets the Type object that was used to obtain the GenericTypeParameterBuilder.
Public property StructLayoutAttribute  Gets a StructLayoutAttribute that describes the layout of the current type.(Inherited from Type.)
Public property TypeHandle Overridden. Not supported for incomplete generic type parameters.
Public property TypeInitializer  Gets the initializer for the Type.(Inherited from Type.)
Public property UnderlyingSystemType Overridden. Not valid for incomplete generic type parameters.
Top
  Name Description
Public method Equals Overloaded. Overridden. Compares two objects for equality.
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. Not supported for incomplete generic type parameters.
Public method GetCustomAttributes Overloaded. Overridden. Not supported for incomplete generic type parameters.
Public method GetDefaultMembers  Searches for the members defined for the current Type whose DefaultMemberAttribute is set. (Inherited from Type.)
Public method GetElementType Overridden. Returns a null reference (Nothing in Visual Basic) in all cases.
Public method GetEvent Overloaded. Not supported for incomplete generic type parameters.
Public method GetEvents Overloaded. Overridden. Not supported for incomplete generic type parameters.
Public method GetField Overloaded. Not supported for incomplete generic type parameters.
Public method GetFields Overloaded. Not supported for incomplete generic type parameters.
Public method GetGenericArguments Overridden. Not valid for generic type parameters.
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 Overridden. Not valid for generic type parameters.
Public method GetHashCode Overridden. Returns a 32-bit integer hash code for the current instance.
Public method GetInterface Overloaded. Not supported for incomplete generic type parameters.
Public method GetInterfaceMap Overridden. Not supported for incomplete generic type parameters.
Public method GetInterfaces Overridden. Not supported for incomplete generic type parameters.
Public method GetMember Overloaded. Not supported for incomplete generic type parameters.
Public method GetMembers Overloaded. Not supported for incomplete generic type parameters.
Public method GetMethod  Overloaded. Gets a specific method of the current Type. (Inherited from Type.)
Public method GetMethods Overloaded. Not supported for incomplete generic type parameters.
Public method GetNestedType Overloaded. Not supported for incomplete generic type parameters.
Public method GetNestedTypes Overloaded. Not supported for incomplete generic type parameters.
Public method GetProperties Overloaded. Not supported for incomplete generic type parameters.
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. Not supported for generic type parameters.
Public method IsAssignableFrom Overridden. Not supported for incomplete generic type parameters.
Public method IsDefined Overridden. Not supported for incomplete generic type parameters.
Public method IsInstanceOfType  Determines whether the specified object is an instance of the current Type. (Inherited from Type.)
Public method IsSubclassOf Overridden. Not supported for incomplete generic type parameters.
Public method MakeArrayType Overloaded. Overridden. Returns the type of an array whose element type is the generic type parameter.
Public method MakeByRefType Overridden. Returns a Type object that represents the current generic type parameter when passed as a reference parameter.
Public method MakeGenericType Overridden. Not valid for incomplete generic type parameters.
Public method MakePointerType Overridden. Returns a Type object that represents a pointer to the current generic type parameter.
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 SetBaseTypeConstraint Sets the base type that a type must inherit in order to be substituted for the type parameter.
Public method SetCustomAttribute Overloaded. Sets a custom attribute.
Public method SetGenericParameterAttributes Sets the variance characteristics and special constraints of the generic parameter, such as the parameterless constructor constraint.
Public method SetInterfaceConstraints Sets the interfaces a type must implement in order to be substituted for the type parameter.
Public method ToString Overridden. Not supported for incomplete generic type parameters.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.