Export (0) Print
Expand All

TypeBuilder Properties

The TypeBuilder type exposes the following members.

  Name Description
Public property Assembly Gets the dynamic assembly that contains this type definition. (Overrides Type.Assembly.)
Public property AssemblyQualifiedName Gets the full name of this type, qualified by the display name of the assembly. (Overrides Type.AssemblyQualifiedName.)
Public property Attributes Gets the attributes associated with the Type. (Inherited from Type.)
Public property BaseType Gets the base type of this type. (Overrides Type.BaseType.)
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 the method that declared the current generic type parameter. (Overrides Type.DeclaringMethod.)
Public property DeclaringType Gets the type that declared this type. (Overrides Type.DeclaringType.)
Public property FullName Gets the full path of this type. (Overrides Type.FullName.)
Public property GenericParameterAttributes Gets a value that indicates the covariance and special constraints of the current generic type parameter. (Overrides Type.GenericParameterAttributes.)
Public property GenericParameterPosition Gets the position of a type parameter in the type parameter list of the generic type that declared the parameter. (Overrides Type.GenericParameterPosition.)
Public property GUID Gets the GUID of this type. (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 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 IsEnum Gets a value indicating whether the current Type represents an enumeration. (Inherited from Type.)
Public property IsGenericParameter Gets a value indicating whether the current type is a generic type parameter. (Overrides Type.IsGenericParameter.)
Public property IsGenericType Gets a value indicating whether the current type is a generic type. (Overrides Type.IsGenericType.)
Public property IsGenericTypeDefinition Gets a value indicating whether the current TypeBuilder represents a generic type definition from which other generic types can be constructed. (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 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 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 this type definition. (Overrides Type.Module.)
Public property Name Gets the name of this type. (Overrides MemberInfo.Name.)
Public property Namespace Gets the namespace where this TypeBuilder is defined. (Overrides Type.Namespace.)
Public property PackingSize Gets the packing size of this type.
Public property ReflectedType Gets the type that was used to obtain this type. (Overrides Type.ReflectedType.)
Public property Size Gets the total size of a type.
Public property TypeHandle Not supported in dynamic modules. (Overrides Type.TypeHandle.)
Public property TypeToken Gets the type token of this type.
Public property UnderlyingSystemType Gets the underlying system type for this TypeBuilder. (Overrides Type.UnderlyingSystemType.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft