編輯

共用方式為


XmlDictionaryReader.ReadInt16Array Method

Definition

Reads the contents of a series of nodes into an array of short integers (Int16).

Overloads

ReadInt16Array(XmlDictionaryString, XmlDictionaryString)

Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

ReadInt16Array(String, String)

Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

ReadInt16Array(XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

public:
 virtual cli::array <short> ^ ReadInt16Array(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual short[] ReadInt16Array (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
abstract member ReadInt16Array : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> int16[]
override this.ReadInt16Array : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> int16[]
Public Overridable Function ReadInt16Array (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString) As Short()

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

Returns

Int16[]

An array of short integers (Int16).

Remarks

The buffer allocated by this read operation is limited by the MaxArrayLength quota.

Applies to

ReadInt16Array(String, String)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

public:
 virtual cli::array <short> ^ ReadInt16Array(System::String ^ localName, System::String ^ namespaceUri);
public virtual short[] ReadInt16Array (string localName, string namespaceUri);
abstract member ReadInt16Array : string * string -> int16[]
override this.ReadInt16Array : string * string -> int16[]
Public Overridable Function ReadInt16Array (localName As String, namespaceUri As String) As Short()

Parameters

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

Returns

Int16[]

An array of short integers (Int16).

Remarks

The buffer allocated by this read operation is limited by the MaxArrayLength quota.

Applies to