System.Reflection.Emit.FieldBuilder Members

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

See Also: Inherited members from System.Reflection.FieldInfo

Public Properties

[read-only]
override
AttributesSystem.Reflection.FieldAttributes.

Indicates the attributes of this field. This property is read-only.

[read-only]
override
DeclaringTypeType.

Indicates a reference to the Type object for the type that declares this field. This property is read-only.

[read-only]
override
FieldHandleRuntimeFieldHandle.

Indicates the internal metadata handle for this field. This property is read-only.

[read-only]
override
FieldTypeType.

Indicates the Type object that represents the type of this field. This property is read-only.

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

Gets the module in which the type that contains this field is being defined.

[read-only]
override
Namestring.

Indicates the name of this field. This property is read-only.

[read-only]
override
ReflectedTypeType.

Indicates the reference to the Type object from which this object was obtained. This property is read-only.

Public Methods

override
GetCustomAttributes(bool) : object[]

Returns all the custom attributes defined for this field.

override
GetCustomAttributes(Type, bool) : object[]

Returns all the custom attributes defined for this field identified by the given type.

GetToken() : FieldToken

Returns the token representing this field.

override
GetValue(object) : object

Retrieves the value of the field supported by the given object.

override
IsDefined(Type, bool) : bool

Indicates whether an attribute having the specified type is defined on a field.

SetConstant(object)

Sets the default value of this field.

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.

SetMarshal(UnmanagedMarshal)

Describes the native marshaling of the field.

SetOffset(int)

Specifies the field layout.

override
SetValue(object, object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Globalization.CultureInfo)

Sets the value of the field supported by the given object.

Explicitly Implemented Interface Members

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

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

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