UrlTestEncoder.WillEncode(Int32) Method

Definition

Determines if a given Unicode scalar value will be encoded.

public override bool WillEncode (int unicodeScalar);

Parameters

unicodeScalar
Int32

A Unicode scalar value.

Returns

true if the unicodeScalar value will be encoded by this encoder; otherwise, returns false.

Applies to

產品 版本
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)