This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
FieldBuilder Methods
The methods of the FieldBuilder class are listed below. For a complete list of FieldBuilder class members, see the FieldBuilder Members topic.
Public:
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetCustomAttributes |
Overloaded. Overloaded. Returns the custom attributes defined for this constructor. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetToken |
Returns the token representing this field. |
GetType (inherited from Object) |
Gets the Type of the Object. |
GetValue |
Retrieves the value of the field supported by the given object. |
GetValueDirect (inherited from FieldInfo) |
[To be supplied.] |
IsDefined |
[To be supplied.] |
SetConstant |
Sets the default value of this field. |
SetCustomAttribute |
Overloaded. Sets a custom attribute. |
SetMarshal |
Describes the native marshaling of the field. |
SetOffset |
Specifies the field layout. |
SetValue |
Overloaded. [To be supplied.] |
SetValueDirect (inherited from FieldInfo) |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
FieldBuilder Class | System.Reflection.Emit Namespace