다음을 통해 공유


IXmlPullParser.IsAttributeDefault(Int32) Method

Definition

Returns if the specified attribute was not in input was declared in XML.

[Android.Runtime.Register("isAttributeDefault", "(I)Z", "GetIsAttributeDefault_IHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsAttributeDefault (int index);
[<Android.Runtime.Register("isAttributeDefault", "(I)Z", "GetIsAttributeDefault_IHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsAttributeDefault : int -> bool

Parameters

index
Int32

zero-based index of attribute

Returns

false if attribute was in input

Attributes

Remarks

Returns if the specified attribute was not in input was declared in XML. If parser is non-validating it MUST always return false. This information is part of XML infoset:

Java documentation for org.xmlpull.v1.XmlPullParser.isAttributeDefault(int).

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