XmlUtil.IsNil(XmlReader) Method

Definition

Determines if the reader has an attribute that is 'nil'

public static bool IsNil (System.Xml.XmlReader reader);
static member IsNil : System.Xml.XmlReader -> bool
Public Shared Function IsNil (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

a XmlReader positioned on an element.

Returns

true is the attribute value is 'nil'

Exceptions

if reader is null.

Applies to