Uri.IsExcludedCharacter(Char) Uri.IsExcludedCharacter(Char) Uri.IsExcludedCharacter(Char) Uri.IsExcludedCharacter(Char) Method

定义

警告

此 API 现已过时。

获取一个值,该值指示是否应该转义指定的字符。Gets whether the specified character should be escaped.

protected:
 static bool IsExcludedCharacter(char character);
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected static bool IsExcludedCharacter (char character);
static member IsExcludedCharacter : char -> bool
Protected Shared Function IsExcludedCharacter (character As Char) As Boolean

参数

character
Char Char Char Char

要测试的 CharThe Char to test.

返回

一个 Boolean 值。如果应该转义指定的字符,则该值为 true;否则为 falseA Boolean value that is true if the specified character should be escaped; otherwise, false.

适用于