Partilhar via


JavaScriptTestEncoder.WillEncode(Int32) Method

Definition

Determines if a given Unicode scalar value will be encoded.

public:
 override bool WillEncode(int unicodeScalar);
public override bool WillEncode (int unicodeScalar);
override this.WillEncode : int -> bool
Public Overrides Function WillEncode (unicodeScalar As Integer) As Boolean

Parameters

unicodeScalar
Int32

A Unicode scalar value.

Returns

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

Applies to