Share via


ObjectStreamClass.ForClass Method

Definition

Return the class in the local VM that this version is mapped to.

[Android.Runtime.Register("forClass", "()Ljava/lang/Class;", "GetForClassHandler")]
public virtual Java.Lang.Class? ForClass ();
[<Android.Runtime.Register("forClass", "()Ljava/lang/Class;", "GetForClassHandler")>]
abstract member ForClass : unit -> Java.Lang.Class
override this.ForClass : unit -> Java.Lang.Class

Returns

the Class instance that this descriptor represents

Attributes

Remarks

Java documentation for java.io.ObjectStreamClass.forClass().

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