Java.Lang.Reflect.Field Members

The members of Java.Lang.Reflect.Field are listed below.

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

Public Properties

[read-only]
DeclaringClassJava.Lang.Class. Returns the class that declares this member.
[read-only]
GenericTypeIType. Returns the generic type of this field.
[read-only]
IsEnumConstantbool. Indicates whether or not this field is an enumeration constant.
[read-only]
IsSyntheticbool. Indicates whether or not this field is synthetic.
[read-only]
Modifiersint. Returns the modifiers for this field.
[read-only]
Namestring. Returns the name of this field.
[read-only]
TypeJava.Lang.Class. Return the Java.Lang.Class associated with the type of this field.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.