Class.GetDeclaredField(String) Class.GetDeclaredField(String) Method

Definition

Returns a Field object for the field with the given name which is declared in the class represented by this Class.

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

Parameters

name
String String

Returns

Exceptions

if the requested field can not 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