Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EnumBuilder Methods

The methods of the EnumBuilder class are listed here. For a complete list of EnumBuilder class members, see the EnumBuilder Members topic.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft