Uri.IsReservedCharacter(Char) Method

Definition

Warning

This API is now obsolete.

取得指定的字元是否為保留字元。Gets whether the specified character is a reserved 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")]
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);
[System.Obsolete("The method has been deprecated. It is not used by the system. https://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 virtual bool IsReservedCharacter (char character);
protected virtual bool IsReservedCharacter (char character);
abstract member IsReservedCharacter : char -> bool
override this.IsReservedCharacter : char -> bool
Protected Overridable Function IsReservedCharacter (character As Char) As Boolean

Parameters

character
Char

要測試的 CharThe Char to test.

Returns

Boolean

如果指定的字元是保留字元,則 Boolean 值為 true,否則為 falseA Boolean value that is true if the specified character is a reserved character otherwise, false.

Attributes

Applies to