System.Xml.Serialization.XmlSerializationReader.GetArrayLength Method

Gets the length of the SOAP-encoded array where the System.Xml.XmlReader is currently positioned.

Syntax

protected int GetArrayLength (string name, string ns)

Parameters

name
The local name that the array should have.
ns
The namespace that the array should have.

Returns

The length of the SOAP array.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

The XmlSerializationReader.GetArrayLength(string, string) method applies to the arrayType attribute that is used with SOAP encoding and specified with the namespace "http://schemas.xmlsoap.org/soap/encoding/".

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0