Class.GetField(String) Class.GetField(String) Method

Definition

Returns a Field object which represents the public field with the given name.

[Android.Runtime.Register("getField", "(Ljava/lang/String;)Ljava/lang/reflect/Field;", "")]
public Java.Lang.Reflect.Field GetField (string name);
member this.GetField : string -> Java.Lang.Reflect.Field

Parameters

name
String String

Returns

Exceptions

if the field cannot be found.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also