Edit

Bagikan melalui


XmlSerializationReader.ReaderCount Property

Definition

Gets the current count of the XmlReader.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 property int ReaderCount { int get(); };
protected int ReaderCount { get; }
member this.ReaderCount : int
Protected ReadOnly Property ReaderCount As Integer

Property Value

The current count of an XmlReader.

Remarks

The method is used by generated classes and should not be directly invoked.

The XmlSerializationReader uses an instance of the XmlReader class to count when a read operation occurs. The count is incremented each time the reader calls an appropriate method, for example the Read method or the ReadElementString method.

Applies to