XmlReaderPullParser.Require(XmlPullParserNode, String, 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.
Checks that the current event type, namespace URI, and name equal the supplied values. Throws if any value differs.
public void Require(Org.XmlPull.V1.XmlPullParserNode type, string? namespaceURI, string? name);
abstract member Require : Org.XmlPull.V1.XmlPullParserNode * string * string -> unit
override this.Require : Org.XmlPull.V1.XmlPullParserNode * string * string -> unit
Parameters
- type
- XmlPullParserNode
The expected event type.
- namespaceURI
- String
The expected namespace URI. A null value must match the current namespace.
- name
- String
The expected local name. A null value must match the current name.
Implements
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.