Export (0) Print
Expand All

EnumBuilder Properties

The EnumBuilder type exposes the following members.

  Name Description
Public property Assembly Retrieves the dynamic assembly that contains this enum definition. (Overrides Type.Assembly.)
Public property AssemblyQualifiedName Returns the full path of this enum qualified by the display name of the parent assembly. (Overrides Type.AssemblyQualifiedName.)
Public property Attributes Gets the attributes associated with the Type. (Inherited from Type.)
Public property BaseType Returns the parent Type of this type which is always Enum. (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 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 MethodBase that represents the declaring method, if the current Type represents a type parameter of a generic method. (Inherited from Type.)
Public property DeclaringType Returns the type that declared this EnumBuilder. (Overrides Type.DeclaringType.)
Public property FullName Returns the full path of this enum. (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. (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 GenericTypeArguments Gets an array of the generic type arguments for this type. (Inherited from Type.)
Public property GenericTypeParameters Gets an array of the generic type parameters of the current instance. (Inherited from TypeInfo.)
Public property GUID Returns the GUID of this enum. (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 that indicates 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 or a delegate; 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 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 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 Retrieves the dynamic module that contains this EnumBuilder definition. (Overrides Type.Module.)
Public property Name Returns the name of this enum. (Overrides MemberInfo.Name.)
Public property Namespace Returns the namespace of this enum. (Overrides Type.Namespace.)
Public property ReflectedType Returns the type that was used to obtain this EnumBuilder. (Overrides Type.ReflectedType.)
Public property StructLayoutAttribute Gets a StructLayoutAttribute that describes the layout of the current type. (Inherited from Type.)
Public property TypeHandle Retrieves the internal handle for this enum. (Overrides Type.TypeHandle.)
Public property TypeInitializer Gets the initializer for the type. (Inherited from Type.)
Public property TypeToken Returns the internal metadata type token of this enum.
Public property UnderlyingField Returns the underlying field for this enum.
Public property UnderlyingSystemType Returns the underlying system type for this enum. (Overrides Type.UnderlyingSystemType.)
Top
Show:
© 2015 Microsoft