GenericTypeParameterBuilder Properties

The GenericTypeParameterBuilder type exposes the following members.

  Name Description
Public property Assembly Gets an Assembly object representing the dynamic assembly that contains the generic type definition the current type parameter belongs to. (Overrides Type.Assembly.)
Public property AssemblyQualifiedName Gets null in all cases. (Overrides Type.AssemblyQualifiedName.)
Public property Attributes Gets the attributes associated with the Type. (Inherited from Type.)
Public property BaseType Gets the base type constraint of the current generic type parameter. (Overrides Type.BaseType.)
Public property ContainsGenericParameters Gets true in all cases. (Overrides Type.ContainsGenericParameters.)
Public property CustomAttributes Gets a collection that contains this member's custom attributes. (Inherited from MemberInfo.)
Public property DeclaredConstructors Gets a collection of the constructors declared by the current type. (Inherited from TypeInfo.)
Public property DeclaredEvents Gets a collection of the events defined by the current type. (Inherited from TypeInfo.)
Public property DeclaredFields Gets a collection of the fields defined by the current type. (Inherited from TypeInfo.)
Public property DeclaredMembers Gets a collection of the members defined by the current type. (Inherited from TypeInfo.)
Public property DeclaredMethods Gets a collection of the methods defined by the current type. (Inherited from TypeInfo.)
Public property DeclaredNestedTypes Gets a collection of the nested types defined by the current type. (Inherited from TypeInfo.)
Public property DeclaredProperties Gets a collection of the properties defined by the current type. (Inherited from TypeInfo.)
Public property DeclaringMethod Gets a MethodInfo that represents the declaring method, if the current GenericTypeParameterBuilder represents a type parameter of a generic method. (Overrides Type.DeclaringMethod.)
Public property DeclaringType Gets the generic type definition or generic method definition to which the generic type parameter belongs. (Overrides Type.DeclaringType.)
Public property FullName Gets null in all cases. (Overrides Type.FullName.)
Public property GenericParameterAttributes Gets a combination of GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter. (Overrides Type.GenericParameterAttributes.)

In .NET Framework Client Profile 4, this member is inherited from Type.GenericParameterAttributes.
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. (Overrides Type.GenericParameterPosition.)
Public property GenericTypeArguments Gets an array of the generic type arguments for this type. (Inherited from Type.)
Public property GenericTypeParameters Gets an array of the generic parameters of the current type. (Inherited from TypeInfo.)
Public property GUID Not supported for incomplete generic type parameters. (Overrides Type.GUID.)
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 ImplementedInterfaces Gets a collection of the interfaces implemented by the current type. (Inherited from TypeInfo.)
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 fields of the current type are laid out automatically by the common language runtime. (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 IsConstructedGenericType Gets a value that indicates whether this object represents a constructed generic type. (Overrides Type.IsConstructedGenericType.)
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 fields of the current type are laid out at explicitly specified offsets. (Inherited from Type.)
Public property IsGenericParameter Gets true in all cases. (Overrides Type.IsGenericParameter.)
Public property IsGenericType Returns false in all cases. (Overrides Type.IsGenericType.)
Public property IsGenericTypeDefinition Gets false in all cases. (Overrides Type.IsGenericTypeDefinition.)
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 fields of the current type are laid out sequentially, in the order that they were defined or emitted to the metadata. (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 IsSecurityCritical 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. (Inherited from Type.)
Public property IsSecuritySafeCritical 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. (Inherited from Type.)
Public property IsSecurityTransparent Gets a value that indicates whether the current type is transparent at the current trust level, and therefore cannot perform critical operations. (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 Gets the dynamic module that contains the generic type parameter. (Overrides Type.Module.)
Public property Name Gets the name of the generic type parameter. (Overrides MemberInfo.Name.)
Public property Namespace Gets null in all cases. (Overrides Type.Namespace.)
Public property ReflectedType Gets the Type object that was used to obtain the GenericTypeParameterBuilder. (Overrides Type.ReflectedType.)
Public property StructLayoutAttribute Gets a StructLayoutAttribute that describes the layout of the current type. (Inherited from Type.)
Public property TypeHandle Not supported for incomplete generic type parameters. (Overrides Type.TypeHandle.)
Public property TypeInitializer Gets the initializer for the Type. (Inherited from Type.)
Public property UnderlyingSystemType Gets the current generic type parameter. (Overrides Type.UnderlyingSystemType.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft