다음을 통해 공유


ObjectStreamField.Type Property

Definition

Get the type of the field.

public virtual Java.Lang.Class? Type { [Android.Runtime.Register("getType", "()Ljava/lang/Class;", "GetGetTypeHandler")] get; }
[<get: Android.Runtime.Register("getType", "()Ljava/lang/Class;", "GetGetTypeHandler")>]
member this.Type : Java.Lang.Class

Property Value

a Class object representing the type of the serializable field

Attributes

Remarks

Get the type of the field. If the type is non-primitive and this ObjectStreamField was obtained from a deserialized ObjectStreamClass instance, then Object.class is returned. Otherwise, the Class object for the type of the field is returned.

Java documentation for java.io.ObjectStreamField.getType().

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