Export (0) Print
Expand All

TypeBuilder Properties

The TypeBuilder type exposes the following members.

  NameDescription
Public property Assembly Retrieves the dynamic assembly that contains this type definition. (Overrides Type.Assembly.)
Public property AssemblyQualifiedName Returns 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 Retrieves 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 Returns the type that declared this type. (Overrides Type.DeclaringType.)
Public property FullName Retrieves 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 Retrieves 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 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 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 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 IsSecurityCritical Gets a value that indicates whether the current type is security-critical or security-safe-critical, and therefore can perform critical operations. (Overrides Type.IsSecurityCritical.)
Public property IsSecuritySafeCritical Gets a value that indicates whether the current type is security-safe-critical; that is, whether it can perform critical operations and can be accessed by transparent code. (Overrides Type.IsSecuritySafeCritical.)
Public property IsSecurityTransparent Gets a value that indicates whether the current type is transparent, and therefore cannot perform critical operations. (Overrides Type.IsSecurityTransparent.)
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 Retrieves the dynamic module that contains this type definition. (Overrides Type.Module.)
Public property Name Retrieves the name of this type. (Overrides MemberInfo.Name.)
Public property Namespace Retrieves the namespace where this TypeBuilder is defined. (Overrides Type.Namespace.)
Public property PackingSize Retrieves the packing size of this type.
Public property ReflectedType Returns the type that was used to obtain this type. (Overrides Type.ReflectedType.)
Public property Size Retrieves the total size of a type.
Public property StructLayoutAttribute Gets a StructLayoutAttribute that describes the layout of the current type. (Inherited from Type.)
Public property TypeHandle Not supported in dynamic modules. (Overrides Type.TypeHandle.)
Public property TypeInitializer Gets the initializer for the Type. (Inherited from Type.)
Public property TypeToken Returns the type token of this type.
Public property UnderlyingSystemType Returns the underlying system type for this TypeBuilder. (Overrides Type.UnderlyingSystemType.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft