Java.Lang.Reflect.Field: Method Members

The methods of Java.Lang.Reflect.Field are listed below. For a list of all members, see the Field Members list.

See Also: Inherited members from Java.Lang.Reflect.AccessibleObject

Public Methods

Get(Java.Lang.Object) : Java.Lang.Object
Returns the value of the field in the specified object.
GetBoolean(Java.Lang.Object) : bool
Returns the value of the field in the specified object as a boolean.
GetByte(Java.Lang.Object) : sbyte
Returns the value of the field in the specified object as a byte.
GetChar(Java.Lang.Object) : char
Returns the value of the field in the specified object as a char.
GetDouble(Java.Lang.Object) : double
Returns the value of the field in the specified object as a double.
GetFloat(Java.Lang.Object) : float
Returns the value of the field in the specified object as a float .
GetInt(Java.Lang.Object) : int
Returns the value of the field in the specified object as an int.
GetLong(Java.Lang.Object) : long
Returns the value of the field in the specified object as a long.
GetShort(Java.Lang.Object) : short
Returns the value of the field in the specified object as a short .
Set(Java.Lang.Object, Java.Lang.Object)
Sets the value of the field in the specified object to the value.
SetBoolean(Java.Lang.Object, bool)
Sets the value of the field in the specified object to the boolean value.
SetByte(Java.Lang.Object, sbyte)
Sets the value of the field in the specified object to the byte value.
SetChar(Java.Lang.Object, char)
Sets the value of the field in the specified object to the char value.
SetDouble(Java.Lang.Object, double)
Sets the value of the field in the specified object to the double value.
SetFloat(Java.Lang.Object, float)
Sets the value of the field in the specified object to the float value.
SetInt(Java.Lang.Object, int)
Set the value of the field in the specified object to the int value.
SetLong(Java.Lang.Object, long)
Sets the value of the field in the specified object to the long value.
SetShort(Java.Lang.Object, short)
Sets the value of the field in the specified object to the short value.
ToGenericString() : string
Returns the string representation of this field, including the field's generic type.