編輯

共用方式為


XmlSerializationReader.GetArrayLength(String, String) Method

Definition

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

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

protected:
 int GetArrayLength(System::String ^ name, System::String ^ ns);
protected int GetArrayLength (string name, string ns);
member this.GetArrayLength : string * string -> int
Protected Function GetArrayLength (name As String, ns As String) As Integer

Parameters

name
String

The local name that the array should have.

ns
String

The namespace that the array should have.

Returns

The length of the SOAP array.

Remarks

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

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

Applies to