XdmWriter.WriteSurrogateCharEntity MethodXdmWriter.WriteSurrogateCharEntity MethodXdmWriter::WriteSurrogateCharEntity Method
Generates and writes the surrogate character entity for the surrogate character pair.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Parameters
- lowChar
Type: System.CharSystem.CharSystem::Char
The low surrogate. This must be a value between 0xDC00 and 0xDFFF.
- highChar
Type: System.CharSystem.CharSystem::Char
The high surrogate. This must be a value between 0xD800 and 0xDBFF.
Exceptions
Exception | Condition |
ArgumentExceptionArgumentExceptionArgumentException | An invalid surrogate character pair was passed. |