Compartir a través de


Duration.IsSet(DatatypeConstants+Field) Method

Definition

Checks if a field is set.

[Android.Runtime.Register("isSet", "(Ljavax/xml/datatype/DatatypeConstants$Field;)Z", "GetIsSet_Ljavax_xml_datatype_DatatypeConstants_Field_Handler")]
public abstract bool IsSet (Javax.Xml.Datatype.DatatypeConstants.Field? field);
[<Android.Runtime.Register("isSet", "(Ljavax/xml/datatype/DatatypeConstants$Field;)Z", "GetIsSet_Ljavax_xml_datatype_DatatypeConstants_Field_Handler")>]
abstract member IsSet : Javax.Xml.Datatype.DatatypeConstants.Field -> bool

Parameters

field
DatatypeConstants.Field

one of the six Field constants (YEARS,MONTHS,DAYS,HOURS, MINUTES, or SECONDS.)

Returns

true if the field is present. false if not.

Attributes

Exceptions

If the field parameter is null.

Remarks

Java documentation for javax.xml.datatype.Duration.isSet(javax.xml.datatype.Field).

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