Export (0) Print
Expand All

EnumBuilder Members

EnumBuilder overview

Public Properties

public propertyAssembly Overridden. Retrieves the dynamic assembly that contains this enum definition.
public propertyAssemblyQualifiedName Overridden. Returns the full path of this enum qualified by the display name of the parent assembly.
public propertyAttributes (inherited from Type) Gets the attributes associated with the Type.
public propertyBaseType Overridden. Returns the parent Type of this type which is always Enum.
public propertyDeclaringType Overridden. Returns the type that declared this EnumBuilder.
public propertyFullName Overridden. Returns the full path of this enum.
public propertyGUID Overridden. Returns the GUID of this enum.
public propertyHasElementType (inherited from Type) 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.
public propertyIsAbstract (inherited from Type) Gets a value indicating whether the Type is abstract and must be overridden.
public propertyIsAnsiClass (inherited from Type) Gets a value indicating whether the string format attribute AnsiClass is selected for the Type.
public propertyIsArray (inherited from Type) Gets a value indicating whether the Type is an array.
public propertyIsAutoClass (inherited from Type) Gets a value indicating whether the string format attribute AutoClass is selected for the Type.
public propertyIsAutoLayout (inherited from Type) Gets a value indicating whether the class layout attribute AutoLayout is selected for the Type.
public propertyIsByRef (inherited from Type) Gets a value indicating whether the Type is passed by reference.
public propertyIsClass (inherited from Type) Gets a value indicating whether the Type is a class; that is, not a value type or interface.
public propertyIsCOMObject (inherited from Type) Gets a value indicating whether the Type is a COM object.
public propertyIsContextful (inherited from Type) Gets a value indicating whether the Type can be hosted in a context.
public propertyIsEnum (inherited from Type) Gets a value indicating whether the current Type represents an enumeration.
public propertyIsExplicitLayout (inherited from Type) Gets a value indicating whether the class layout attribute ExplicitLayout is selected for the Type.
public propertyIsImport (inherited from Type) Gets a value indicating whether the Type was imported from another class.
public propertyIsInterface (inherited from Type) Gets a value indicating whether the Type is an interface; that is, not a class or a value type.
public propertyIsLayoutSequential (inherited from Type) Gets a value indicating whether the class layout attribute SequentialLayout is selected for the Type.
public propertyIsMarshalByRef (inherited from Type) Gets a value indicating whether the Type is marshaled by reference.
public propertyIsNestedAssembly (inherited from Type) Gets a value indicating whether the Type is nested and visible only within its own assembly.
public propertyIsNestedFamANDAssem (inherited from Type) 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.
public propertyIsNestedFamily (inherited from Type) Gets a value indicating whether the Type is nested and visible only within its own family.
public propertyIsNestedFamORAssem (inherited from Type) 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.
public propertyIsNestedPrivate (inherited from Type) Gets a value indicating whether the Type is nested and declared private.
public propertyIsNestedPublic (inherited from Type) Gets a value indicating whether a class is nested and declared public.
public propertyIsNotPublic (inherited from Type) Gets a value indicating whether the top-level Type is not declared public.
public propertyIsPointer (inherited from Type) Gets a value indicating whether the Type is a pointer.
public propertyIsPrimitive (inherited from Type) Gets a value indicating whether the Type is one of the primitive types.
public propertyIsPublic (inherited from Type) Gets a value indicating whether the top-level Type is declared public.
public propertyIsSealed (inherited from Type) Gets a value indicating whether the Type is declared sealed.
public propertyIsSerializable (inherited from Type) Gets a value indicating whether the Type is serializable.
public propertyIsSpecialName (inherited from Type) Gets a value indicating whether the Type has a name that requires special handling.
public propertyIsUnicodeClass (inherited from Type) Gets a value indicating whether the string format attribute UnicodeClass is selected for the Type.
public propertyIsValueType (inherited from Type) Gets a value indicating whether the Type is a value type.
public propertyMemberType (inherited from Type) Overridden. Gets a bitmask indicating the member type.
public propertyModule Overridden. Retrieves the dynamic module that contains this EnumBuilder definition.
public propertyName Overridden. Returns the name of this enum.
public propertyNamespace Overridden. Returns the namespace of this enum.
public propertyReflectedType Overridden. Returns the type that was used to obtain this EnumBuilder.
public propertyTypeHandle Overridden. Retrieves the internal handle for this enum.
public propertyTypeInitializer (inherited from Type) Gets the initializer for the Type.
public propertyTypeToken Returns the internal metadata type token of this enum.
public propertyUnderlyingField Returns the underlying field for this enum.
public propertyUnderlyingSystemType Overridden. Returns the underlying system type for this enum.

Public Methods

public methodCreateType Creates a Type object for this enum.
public methodDefineLiteral Defines the named static field in an enumeration type with the specified constant value.
public methodEquals (inherited from Type) Overloaded. Overridden. Determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object or Type.
public methodFindInterfaces (inherited from Type) Returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type.
public methodFindMembers (inherited from Type) Returns a filtered array of MemberInfo objects of the specified member type.
public methodGetArrayRank (inherited from Type) Gets the number of dimensions in an Array.
public methodGetConstructor (inherited from Type) Overloaded. Gets a specific constructor of the current Type.
public methodGetConstructors Overloaded.
public methodGetCustomAttributes Overloaded. Overridden. Returns the custom attributes defined for this constructor.
public methodGetDefaultMembers (inherited from Type) Searches for the members defined for the current Type whose DefaultMemberAttribute is set.
public methodGetElementType Overridden. Calling this method always throws NotSupportedException.
public methodGetEvent Overloaded.
public methodGetEvents Overloaded.
public methodGetField Overloaded.
public methodGetFields Overloaded.
public methodGetHashCode (inherited from Type) Overridden. Returns the hash code for this instance.
public methodGetInterface Overloaded.
public methodGetInterfaceMap Overridden. Returns an interface mapping for the interface requested.
public methodGetInterfaces Overridden. Returns an array of all the interfaces implemented on this a class and its base classes.
public methodGetMember Overloaded.
public methodGetMembers Overloaded.
public methodGetMethod (inherited from Type) Overloaded. Gets a specific method of the current Type.
public methodGetMethods Overloaded.
public methodGetNestedType Overloaded.
public methodGetNestedTypes Overloaded.
public methodGetProperties Overloaded.
public methodGetProperty (inherited from Type) Overloaded. Gets a specific property of the current Type.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInvokeMember Overloaded.
public methodIsAssignableFrom (inherited from Type) Determines whether an instance of the current Type can be assigned from an instance of the specified Type.
public methodIsDefined Overridden. Checks if the specified custom attribute type is defined.
public methodIsInstanceOfType (inherited from Type) Determines whether the specified object is an instance of the current Type.
public methodIsSubclassOf (inherited from Type) Determines whether the current Type derives from the specified Type.
public methodSetCustomAttribute Overloaded. Sets custom attributes for this constructor.
public methodToString (inherited from Type) Overridden. Returns a String representing the name of the current Type.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetAttributeFlagsImpl Overridden. Gets the implementation attribute flags.
protected methodGetConstructorImpl Overridden. Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
protected methodGetMethodImpl Overridden. Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
protected methodGetPropertyImpl Overridden. Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.
protected methodHasElementTypeImpl Overridden. Calling this method always throws NotSupportedException.
protected methodIsArrayImpl Overridden. Returns false.
protected methodIsByRefImpl Overridden. Returns false.
protected methodIsCOMObjectImpl Overridden. Returns false.
protected methodIsContextfulImpl (inherited from Type) Implements the IsContextful property and determines whether the Type can be hosted in a context.
protected methodIsMarshalByRefImpl (inherited from Type) Implements the IsMarshalByRef property and determines whether the Type is marshalled by reference.
protected methodIsPointerImpl Overridden. Returns false.
protected methodIsPrimitiveImpl Overridden. Returns false.
protected methodIsValueTypeImpl Overridden. Returns true.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

EnumBuilder Class | System.Reflection.Emit Namespace

Show:
© 2014 Microsoft