class
MonoField
Encapsulates information about a single Mono (managed) field belonging to some managed class.
This object also allows you to set or retrieve values to/from specific instances containing the field.
Public
Methods
GetName
Returns the name of the field.
Get
Retrieves value currently set in the field on the specified object instance.
If field is static object instance can be null.
GetBoxed
Retrieves value currently set in the field on the specified object instance.
If field is static object instance can be null. If returned value is a value type it will be boxed.
Set
Sets a value for the field on the specified object instance.
If field is static object instance can be null.
HasAttribute
Checks if field has an attribute of the specified type.
GetAttribute
Returns an instance of an attribute of the specified type.
Returns null if the field doesn't have such an attribute.
IsStatic
Query if the field is static.