System.Reflection.Emit.EnumBuilder Members

The members of System.Reflection.Emit.EnumBuilder are listed below.

See Also: Inherited members from System.Reflection.TypeInfo

Public Properties

[read-only]
override
AssemblySystem.Reflection.Assembly.

Retrieves the dynamic assembly that contains this enum definition.

[read-only]
override
AssemblyQualifiedNamestring.

Returns the full path of this enum qualified by the display name of the parent assembly.

[read-only]
override
BaseTypeType.

Returns the parent Type of this type which is always Enum.

[read-only]
override
DeclaringTypeType.

Returns the type that declared this System.Reflection.Emit.EnumBuilder.

[read-only]
override
FullNamestring.

Returns the full path of this enum.

[read-only]
override
GUIDGuid.

Returns the GUID of this enum.

[read-only]
override
IsConstructedGenericTypebool.

Gets a value that indicates whether this object represents a constructed generic type.

[read-only]
override
ModuleSystem.Reflection.Module.

Retrieves the dynamic module that contains this System.Reflection.Emit.EnumBuilder definition.

[read-only]
override
Namestring.

Returns the name of this enum.

[read-only]
override
Namespacestring.

Returns the namespace of this enum.

[read-only]
override
ReflectedTypeType.

Returns the type that was used to obtain this System.Reflection.Emit.EnumBuilder.

[read-only]
override
TypeHandleRuntimeTypeHandle.

Retrieves the internal handle for this enum.

[read-only]
TypeTokenTypeToken.

Returns the internal metadata type token of this enum.

[read-only]
UnderlyingFieldFieldBuilder.

Returns the underlying field for this enum.

[read-only]
override
UnderlyingSystemTypeType.

Returns the underlying system type for this enum.

Public Methods

CreateType() : Type

Creates a Type object for this enum.

DefineLiteral(string, object) : FieldBuilder

Defines the named static field in an enumeration type with the specified constant value.

override
GetConstructors(System.Reflection.BindingFlags) : System.Reflection.ConstructorInfo[]

Returns an array of System.Reflection.ConstructorInfo objects representing the public and non-public constructors defined for this class, as specified.

override
GetCustomAttributes(bool) : object[]

Returns all the custom attributes defined for this constructor.

override
GetCustomAttributes(Type, bool) : object[]

Returns the custom attributes identified by the given type.

override
GetElementType() : Type

Calling this method always throws NotSupportedException.

override
GetEnumUnderlyingType() : Type

Returns the underlying integer type of the current enumeration, which is set when the enumeration builder is defined.

override
GetEvent(string, System.Reflection.BindingFlags) : System.Reflection.EventInfo

Returns the event with the specified name.

override
GetEvents() : System.Reflection.EventInfo[]

Returns the events for the public events declared or inherited by this type.

override
GetEvents(System.Reflection.BindingFlags) : System.Reflection.EventInfo[]

Returns the public and non-public events that are declared by this type.

override
GetField(string, System.Reflection.BindingFlags) : System.Reflection.FieldInfo

Returns the field specified by the given name.

override
GetFields(System.Reflection.BindingFlags) : System.Reflection.FieldInfo[]

Returns the public and non-public fields that are declared by this type.

override
GetInterface(string, bool) : Type

Returns the interface implemented (directly or indirectly) by this type, with the specified fully-qualified name.

override
GetInterfaceMap(Type) : System.Reflection.InterfaceMapping

Returns an interface mapping for the interface requested.

override
GetInterfaces() : Type[]

Returns an array of all the interfaces implemented on this a class and its base classes.

override
GetMember(string, System.Reflection.MemberTypes, System.Reflection.BindingFlags) : System.Reflection.MemberInfo[]

Returns all members with the specified name, type, and binding that are declared or inherited by this type.

override
GetMembers(System.Reflection.BindingFlags) : System.Reflection.MemberInfo[]

Returns the specified members declared or inherited by this type,.

override
GetMethods(System.Reflection.BindingFlags) : System.Reflection.MethodInfo[]

Returns all the public and non-public methods declared or inherited by this type, as specified.

override
GetNestedType(string, System.Reflection.BindingFlags) : Type

Returns the specified nested type that is declared by this type.

override
GetNestedTypes(System.Reflection.BindingFlags) : Type[]

Returns the public and non-public nested types that are declared or inherited by this type.

override
GetProperties(System.Reflection.BindingFlags) : System.Reflection.PropertyInfo[]

Returns all the public and non-public properties declared or inherited by this type, as specified.

override
InvokeMember(string, System.Reflection.BindingFlags, System.Reflection.Binder, object, object[], System.Reflection.ParameterModifier[], System.Globalization.CultureInfo, string[]) : object

Invokes the specified member. The method that is to be invoked must be accessible and provide the most specific match with the specified argument list, under the contraints of the specified binder and invocation attributes.

override
IsAssignableFrom(System.Reflection.TypeInfo) : bool

Gets a value that indicates whether a specified System.Reflection.TypeInfo object can be assigned to this object.

override
IsDefined(Type, bool) : bool

Checks if the specified custom attribute type is defined.

override
MakeArrayType() : Type
Documentation for this section has not yet been entered.
override
MakeArrayType(int) : Type
Documentation for this section has not yet been entered.
override
MakeByRefType() : Type
Documentation for this section has not yet been entered.
override
MakePointerType() : Type
Documentation for this section has not yet been entered.
SetCustomAttribute(CustomAttributeBuilder)

Sets a custom attribute using a custom attribute builder.

SetCustomAttribute(System.Reflection.ConstructorInfo, byte[])

Sets a custom attribute using a specified custom attribute blob.

Protected Methods

override
GetAttributeFlagsImpl() : System.Reflection.TypeAttributes
Documentation for this section has not yet been entered.
override
GetConstructorImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[]) : System.Reflection.ConstructorInfo
Documentation for this section has not yet been entered.
override
GetMethodImpl(string, System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, Type[], System.Reflection.ParameterModifier[]) : System.Reflection.MethodInfo
Documentation for this section has not yet been entered.
override
GetPropertyImpl(string, System.Reflection.BindingFlags, System.Reflection.Binder, Type, Type[], System.Reflection.ParameterModifier[]) : System.Reflection.PropertyInfo
Documentation for this section has not yet been entered.
override
HasElementTypeImpl() : bool
Documentation for this section has not yet been entered.
override
IsArrayImpl() : bool
Documentation for this section has not yet been entered.
override
IsByRefImpl() : bool
Documentation for this section has not yet been entered.
override
IsCOMObjectImpl() : bool
Documentation for this section has not yet been entered.
override
IsPointerImpl() : bool
Documentation for this section has not yet been entered.
override
IsPrimitiveImpl() : bool
Documentation for this section has not yet been entered.
override
IsValueTypeImpl() : bool
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._EnumBuilder.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._EnumBuilder.GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System.Runtime.InteropServices._EnumBuilder.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._EnumBuilder.InvokeDocumentation for this section has not yet been entered.