XdmWriter.WriteSurrogateCharEntity MethodXdmWriter.WriteSurrogateCharEntity MethodXdmWriter::WriteSurrogateCharEntity Method

Generates and writes the surrogate character entity for the surrogate character pair.

Syntax

Public Overrides Sub WriteSurrogateCharEntity( _
    lowChar As Char, _
    highChar As Char _
)
public override void WriteSurrogateCharEntity(
    char lowChar,
    char highChar
)
public:
virtual void WriteSurrogateCharEntity(
    char lowChar, 
    char highChar
) override
 

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

ExceptionCondition
ArgumentExceptionArgumentExceptionArgumentException An invalid surrogate character pair was passed.