Bewerken

Share via


XmlConvert.IsXmlSurrogatePair(Char, Char) Method

Definition

Checks if the passed-in surrogate pair of characters is a valid XML character.

public:
 static bool IsXmlSurrogatePair(char lowChar, char highChar);
public static bool IsXmlSurrogatePair (char lowChar, char highChar);
static member IsXmlSurrogatePair : char * char -> bool
Public Shared Function IsXmlSurrogatePair (lowChar As Char, highChar As Char) As Boolean

Parameters

lowChar
Char

The surrogate character to validate.

highChar
Char

The surrogate character to validate.

Returns

true if the passed in surrogate pair of characters is a valid XML character; otherwise, false.

Applies to