FieldBuilder Methods

 

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance is equal to a specified object.(Inherited from FieldInfo.)

System_CAPS_pubmethodGetCustomAttributes(Boolean)

Returns all the custom attributes defined for this field.(Overrides MemberInfo.GetCustomAttributes(Boolean).)

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

Returns all the custom attributes defined for this field identified by the given type.(Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)

System_CAPS_pubmethodGetCustomAttributesData()

Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target member.(Inherited from MemberInfo.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from FieldInfo.)

System_CAPS_pubmethodGetOptionalCustomModifiers()

Gets an array of types that identify the optional custom modifiers of the field.(Inherited from FieldInfo.)

System_CAPS_pubmethodGetRawConstantValue()

Returns a literal value associated with the field by a compiler. (Inherited from FieldInfo.)

System_CAPS_pubmethodGetRequiredCustomModifiers()

Gets an array of types that identify the required custom modifiers of the property.(Inherited from FieldInfo.)

System_CAPS_pubmethodGetToken()

Returns the token representing this field.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(Object)

Retrieves the value of the field supported by the given object.(Overrides FieldInfo.GetValue(Object).)

System_CAPS_pubmethodGetValueDirect(TypedReference)

Returns the value of a field supported by a given object.(Inherited from FieldInfo.)

System_CAPS_pubmethodIsDefined(Type, Boolean)

Indicates whether an attribute having the specified type is defined on a field.(Overrides MemberInfo.IsDefined(Type, Boolean).)

System_CAPS_pubmethodSetConstant(Object)

Sets the default value of this field.

System_CAPS_pubmethodSetCustomAttribute(ConstructorInfo, Byte[])

Sets a custom attribute using a specified custom attribute blob.

System_CAPS_pubmethodSetCustomAttribute(CustomAttributeBuilder)

Sets a custom attribute using a custom attribute builder.

System_CAPS_pubmethodSetMarshal(UnmanagedMarshal)

Obsolete. Describes the native marshaling of the field.

System_CAPS_pubmethodSetOffset(Int32)

Specifies the field layout.

System_CAPS_pubmethodSetValue(Object, Object)

Sets the value of the field supported by the given object.(Inherited from FieldInfo.)

System_CAPS_pubmethodSetValue(Object, Object, BindingFlags, Binder, CultureInfo)

Sets the value of the field supported by the given object.(Overrides FieldInfo.SetValue(Object, Object, BindingFlags, Binder, CultureInfo).)

System_CAPS_pubmethodSetValueDirect(TypedReference, Object)

Sets the value of the field supported by the given object.(Inherited from FieldInfo.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodGetCustomAttribute(Type)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute(Type, Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>()

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>(Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes()

Overloaded. Retrieves a collection of custom attributes that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes(Type)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes<T>(Boolean)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodIsDefined(Type)

Overloaded. Indicates whether custom attributes of a specified type are applied to a specified member.(Defined by CustomAttributeExtensions.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldBuilder.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldBuilder.GetTypeInfo(UInt32, UInt32, IntPtr)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldBuilder.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from FieldInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldInfo.GetType()

Gets a Type object representing the FieldInfo type.(Inherited from FieldInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from FieldInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from FieldInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_FieldInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from FieldInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetType()

Gets a Type object representing the MemberInfo class.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from MemberInfo.)

Return to top
Show: