XmlConvert.IsXmlChar(Char) Método
Definição
Verifica se o caractere passado é um caractere XML válido.Checks if the passed-in character is a valid XML character.
public:
static bool IsXmlChar(char ch);
public static bool IsXmlChar (char ch);
static member IsXmlChar : char -> bool
Public Shared Function IsXmlChar (ch As Char) As Boolean
Parâmetros
- ch
- Char
O caractere a ser validado.The character to validate.
Retornos
true se o caractere passado for um caractere XML válido; caso contrário, false.true if the passed in character is a valid XML character; otherwise, false.
Comentários
Para obter detalhes sobre os caracteres permitidos, consulte a recomendação XML 1,0 spec (quarta edição) .For details about allowed characters, see the XML 1.0 spec (fourth edition) recommendation.