Method WriteSurrogateCharEntity
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
WriteSurrogateCharEntity(char, char)
When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair.
public override void WriteSurrogateCharEntity(char lowChar, char highChar)
Parameters
lowChar
charThe low surrogate. This must be a value between 0xDC00 and 0xDFFF.
highChar
charThe high surrogate. This must be a value between 0xD800 and 0xDBFF.
Exceptions
- ArgumentException
An invalid surrogate character pair was passed.
- 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.”