ObjectInputStream.GetField.Defaulted(String) Method
Definition
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.
Return true if the named field is defaulted and has no value in this stream.
[Android.Runtime.Register("defaulted", "(Ljava/lang/String;)Z", "GetDefaulted_Ljava_lang_String_Handler")]
public abstract bool Defaulted (string name);
[<Android.Runtime.Register("defaulted", "(Ljava/lang/String;)Z", "GetDefaulted_Ljava_lang_String_Handler")>]
abstract member Defaulted : string -> bool
Parameters
- name
- String
the name of the field
Returns
true, if and only if the named field is defaulted
- Attributes
Exceptions
if name
does not identify a serializable field.
if an error occurs while reading from the source input stream.
Remarks
Return true if the named field is defaulted and has no value in this stream.
Java documentation for java.io.ObjectInputStream.GetField.defaulted(java.lang.String)
.
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.