Språk

IXmlPullParser.IsWhitespace Property

Definition

Checks whether the current TEXT event contains only whitespace characters.

public bool IsWhitespace { [Android.Runtime.Register("isWhitespace", "()Z", "GetIsWhitespaceHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("isWhitespace", "()Z", "GetIsWhitespaceHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.IsWhitespace : bool

Property Value

For the XML pull-parser contract, true if the current text contains only whitespace; otherwise, false. It is always true for IgnorableWhitespace. Access is valid only for text, CDATA, or ignorable-whitespace events. XmlReaderPullParser instead tests whether the wrapped reader's node type is Whitespace.

Attributes

Exceptions

Remarks

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