Uri.IsReservedCharacter(Char) 方法

定义

注意

The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202

注意

Uri.IsReservedCharacter has been deprecated and is not supported.

注意

The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202

确定指定的字符是否为保留字符。

protected:
 virtual bool IsReservedCharacter(char character);
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual bool IsReservedCharacter (char character);
[System.Obsolete("Uri.IsReservedCharacter has been deprecated and is not supported.")]
protected virtual bool IsReservedCharacter (char character);
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual bool IsReservedCharacter (char character);
protected virtual bool IsReservedCharacter (char character);
[<System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member IsReservedCharacter : char -> bool
override this.IsReservedCharacter : char -> bool
[<System.Obsolete("Uri.IsReservedCharacter has been deprecated and is not supported.")>]
abstract member IsReservedCharacter : char -> bool
override this.IsReservedCharacter : char -> bool
[<System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member IsReservedCharacter : char -> bool
override this.IsReservedCharacter : char -> bool
abstract member IsReservedCharacter : char -> bool
override this.IsReservedCharacter : char -> bool
Protected Overridable Function IsReservedCharacter (character As Char) As Boolean

参数

character
Char

要测试的字符。

返回

如果指定的字符是保留字符,则为 true;否则为 false

属性

适用于