XmlDictionaryReader.ReadSingleArray 方法

定义

将一系列节点的内容读入 float 数字 (Single) 的数组。Reads the contents of a series of nodes into an array of float numbers (Single).

重载

ReadSingleArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

ReadSingleArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

ReadSingleArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

public:
 virtual cli::array <float> ^ ReadSingleArray(System::String ^ localName, System::String ^ namespaceUri);
public virtual float[] ReadSingleArray (string localName, string namespaceUri);
abstract member ReadSingleArray : string * string -> single[]
override this.ReadSingleArray : string * string -> single[]
Public Overridable Function ReadSingleArray (localName As String, namespaceUri As String) As Single()

参数

localName
String

元素的本地名称。The local name of the element.

namespaceUri
String

元素的命名空间 URI。The namespace URI of the element.

返回

Single[]

float 数字 (Single) 的数组。An array of float numbers (Single).

注解

由此读取操作分配的缓冲区受 MaxArrayLength 配额的限制。The buffer allocated by this read operation is limited by the MaxArrayLength quota.

适用于

ReadSingleArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

public:
 virtual cli::array <float> ^ ReadSingleArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual float[] ReadSingleArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
abstract member ReadSingleArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> single[]
override this.ReadSingleArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> single[]
Public Overridable Function ReadSingleArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString) As Single()

参数

localName
XmlDictionaryString

元素的本地名称。The local name of the element.

namespaceUri
XmlDictionaryString

元素的命名空间 URI。The namespace URI of the element.

返回

Single[]

float 数字 (Single) 的数组。An array of float numbers (Single).

注解

由此读取操作分配的缓冲区受 MaxArrayLength 配额的限制。The buffer allocated by this read operation is limited by the MaxArrayLength quota.

适用于