Upravit

Sdílet prostřednictvím


XmlDictionaryWriter.WriteArray Method

Definition

Writes repeated occurrences of a data type from a typed array.

Overloads

WriteArray(String, XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

Writes nodes from a DateTime array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

Writes nodes from a TimeSpan array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

Writes nodes from a Single array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

Writes nodes from a Int64 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

Writes nodes from a Int32 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

Writes nodes from a Int16 array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

Writes nodes from a Double array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

Writes nodes from a Decimal array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

Writes nodes from a Boolean array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

Writes nodes from a Guid array.

WriteArray(String, String, String, Single[], Int32, Int32)

Writes nodes from a Single array.

WriteArray(String, String, String, Int64[], Int32, Int32)

Writes nodes from a Int64 array.

WriteArray(String, String, String, Int32[], Int32, Int32)

Writes nodes from a Int32 array.

WriteArray(String, String, String, Int16[], Int32, Int32)

Writes nodes from a Int16 array.

WriteArray(String, String, String, TimeSpan[], Int32, Int32)

Writes nodes from a TimeSpan array.

WriteArray(String, String, String, Guid[], Int32, Int32)

Writes nodes from a Guid array.

WriteArray(String, String, String, Double[], Int32, Int32)

Writes nodes from a Double array.

WriteArray(String, String, String, Decimal[], Int32, Int32)

Writes nodes from a Decimal array.

WriteArray(String, String, String, DateTime[], Int32, Int32)

Writes nodes from a DateTime array.

WriteArray(String, String, String, Boolean[], Int32, Int32)

Writes nodes from a Boolean array.

WriteArray(String, XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a DateTime array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <DateTime> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, DateTime[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * DateTime[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * DateTime[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As DateTime(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
DateTime[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a TimeSpan array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <TimeSpan> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, TimeSpan[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * TimeSpan[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * TimeSpan[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As TimeSpan(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
TimeSpan[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Single array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <float> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, float[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, float[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * single[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * single[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Single(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Single[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int64 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <long> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, long[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, long[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int64[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int64[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Long(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Int64[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int32 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <int> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, int[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, int[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Integer(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Int32[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int16 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <short> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, short[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, short[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int16[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int16[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Short(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Int16[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Double array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <double> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, double[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, double[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * double[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * double[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Double(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Double[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Decimal array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <System::Decimal> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, decimal[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, decimal[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * decimal[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * decimal[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Decimal(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Decimal[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Boolean array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <bool> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, bool[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, bool[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * bool[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * bool[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Boolean(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Boolean[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Guid array.

public:
 virtual void WriteArray(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <Guid> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, Guid[] array, int offset, int count);
public virtual void WriteArray (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, Guid[] array, int offset, int count);
abstract member WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * Guid[] * int * int -> unit
override this.WriteArray : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * Guid[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Guid(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

array
Guid[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Single[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Single array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <float> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, float[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, float[] array, int offset, int count);
abstract member WriteArray : string * string * string * single[] * int * int -> unit
override this.WriteArray : string * string * string * single[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Single(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Single[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Int64[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int64 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <long> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, long[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, long[] array, int offset, int count);
abstract member WriteArray : string * string * string * int64[] * int * int -> unit
override this.WriteArray : string * string * string * int64[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Long(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Int64[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Int32[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int32 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <int> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, int[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, int[] array, int offset, int count);
abstract member WriteArray : string * string * string * int[] * int * int -> unit
override this.WriteArray : string * string * string * int[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Integer(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Int32[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Int16[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Int16 array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <short> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, short[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, short[] array, int offset, int count);
abstract member WriteArray : string * string * string * int16[] * int * int -> unit
override this.WriteArray : string * string * string * int16[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Short(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Int16[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, TimeSpan[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a TimeSpan array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <TimeSpan> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, TimeSpan[] array, int offset, int count);
abstract member WriteArray : string * string * string * TimeSpan[] * int * int -> unit
override this.WriteArray : string * string * string * TimeSpan[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As TimeSpan(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
TimeSpan[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Guid[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Guid array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <Guid> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, Guid[] array, int offset, int count);
abstract member WriteArray : string * string * string * Guid[] * int * int -> unit
override this.WriteArray : string * string * string * Guid[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Guid(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Guid[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Double[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Double array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <double> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, double[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, double[] array, int offset, int count);
abstract member WriteArray : string * string * string * double[] * int * int -> unit
override this.WriteArray : string * string * string * double[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Double(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Double[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Decimal[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Decimal array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <System::Decimal> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, decimal[] array, int offset, int count);
abstract member WriteArray : string * string * string * decimal[] * int * int -> unit
override this.WriteArray : string * string * string * decimal[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Decimal(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Decimal[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, DateTime[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a DateTime array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <DateTime> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, DateTime[] array, int offset, int count);
abstract member WriteArray : string * string * string * DateTime[] * int * int -> unit
override this.WriteArray : string * string * string * DateTime[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As DateTime(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
DateTime[]

The array that contains the nodes.

offset
Int32

The starting index in the array.

count
Int32

The number of nodes to get from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

WriteArray(String, String, String, Boolean[], Int32, Int32)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes nodes from a Boolean array.

public:
 virtual void WriteArray(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceUri, cli::array <bool> ^ array, int offset, int count);
public virtual void WriteArray (string prefix, string localName, string namespaceUri, bool[] array, int offset, int count);
public virtual void WriteArray (string? prefix, string localName, string? namespaceUri, bool[] array, int offset, int count);
abstract member WriteArray : string * string * string * bool[] * int * int -> unit
override this.WriteArray : string * string * string * bool[] * int * int -> unit
Public Overridable Sub WriteArray (prefix As String, localName As String, namespaceUri As String, array As Boolean(), offset As Integer, count As Integer)

Parameters

prefix
String

The namespace prefix.

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

array
Boolean[]

The array that contains the data.

offset
Int32

The starting index in the array.

count
Int32

The number of values to write from the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to