JavaScriptTestEncoder.WillEncode(Int32) Method

Definition

Determines if a given Unicode scalar value will be encoded.

C#
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

Product Versions
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)