Table of Contents

Method WriteChars

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

WriteChars(char[], int, int)

When overridden in a derived class, writes text one buffer at a time.

public override void WriteChars(char[] buffer, int index, int count)

Parameters

buffer char[]

Character array containing the text to write.

index int

The position in the buffer indicating the start of the text to write.

count int

The number of characters to write.

Exceptions

ArgumentNullException

buffer is null.

ArgumentOutOfRangeException

index or count is less than zero.-or-The buffer length minus index is less than count; the call results in surrogate pair characters being split or an invalid surrogate pair being written.

ArgumentException

The buffer parameter value is not valid.

InvalidOperationException

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”