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.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, DateTime[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a TimeSpan array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, TimeSpan[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Single array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, float[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, float[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int64 array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, long[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, long[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int32 array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, int[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, int[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int16 array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, short[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, short[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Double array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, double[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, double[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Decimal array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, decimal[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, decimal[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Boolean array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, bool[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, bool[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Guid array.

C#
public virtual void WriteArray(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, Guid[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, Guid[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Single array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, float[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, float[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int64 array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, long[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, long[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int32 array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, int[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, int[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Int16 array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, short[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, short[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a TimeSpan array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, TimeSpan[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Guid array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, Guid[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Double array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, double[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, double[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Decimal array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, decimal[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a DateTime array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, DateTime[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

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

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

Writes nodes from a Boolean array.

C#
public virtual void WriteArray(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count);
C#
public virtual void WriteArray(string? prefix, string localName, string? namespaceUri, bool[] array, int offset, int count);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0