XmlSerializationReader.GetArrayLength(String, String) 方法
定义
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
参数
- name
- String
数组应具有的本地名称。The local name that the array should have.
- ns
- String
数组应具有的命名空间。The namespace that the array should have.
返回
SOAP 数组的长度。The length of the SOAP array.
注解
的受保护成员 XmlSerializationReader 仅供在 .NET FRAMEWORK XML 序列化基础结构内部使用的派生类使用。The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
GetArrayLength方法适用于 arrayType 与 SOAP 编码一起使用的特性,并使用命名空间 "" 指定 http://schemas.xmlsoap.org/soap/encoding/ 。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/".