共用方式為


TextEncoderSettings.ForbidCharacters(Char[]) 方法

定義

透過篩選不允許 characters 指定的所有字元。

public:
 virtual void ForbidCharacters(... cli::array <char> ^ characters);
public virtual void ForbidCharacters (params char[] characters);
abstract member ForbidCharacters : char[] -> unit
override this.ForbidCharacters : char[] -> unit
Public Overridable Sub ForbidCharacters (ParamArray characters As Char())

參數

characters
Char[]

不允許的字元。

例外狀況

charactersnull

適用於