Field.GetChar(Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of a static or instance field of type
char
or of another primitive type convertible to
type char
via a widening conversion.
[Android.Runtime.Register("getChar", "(Ljava/lang/Object;)C", "")]
public char GetChar (Java.Lang.Object? obj);
[<Android.Runtime.Register("getChar", "(Ljava/lang/Object;)C", "")>]
member this.GetChar : Java.Lang.Object -> char
- obj
- Object
the object to extract the char
value
from
the value of the field converted to type char
- Attributes
if the object is null
and the field is non-static
if the object is not compatible with the declaring class
if this field is not accessible
Gets the value of a static or instance field of type char
or of another primitive type convertible to type char
via a widening conversion.
Java documentation for java.lang.reflect.Field.getChar(java.lang.Object)
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |