Export (0) Print
Expand All

FieldBuilder Methods

The FieldBuilder type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns all the custom attributes defined for this field. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns all the custom attributes defined for this field identified by the given type. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRawConstantValue Returns a literal value associated with the field by a compiler. (Inherited from FieldInfo.)
Public method GetToken Returns the token representing this field.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Retrieves the value of the field supported by the given object. (Overrides FieldInfo.GetValue(Object).)
Public method IsDefined Gets a value that indicates whether an attribute having the specified type is defined on a field. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetConstant Sets the default value of this field.
Public method SetCustomAttribute Sets a custom attribute using a custom attribute builder.
Public method SetValue(Object, Object) Sets the value of the field that is supported by the given object. (Inherited from FieldInfo.)
Public method SetValue(Object, Object, BindingFlags, Binder, CultureInfo) Sets the value of the field supported by the given object. (Overrides FieldInfo.SetValue(Object, Object, BindingFlags, Binder, CultureInfo).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft