Modifier

Partager via


UTF7Encoding.Equals(Object) Method

Definition

Gets a value indicating whether the specified object is equal to the current UTF7Encoding object.

public:
 override bool Equals(System::Object ^ value);
public override bool Equals (object value);
public override bool Equals (object? value);
[System.Runtime.InteropServices.ComVisible(false)]
public override bool Equals (object value);
override this.Equals : obj -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean

Parameters

value
Object

An object to compare to the current UTF7Encoding object.

Returns

true if value is a UTF7Encoding object and is equal to the current UTF7Encoding object; otherwise, false.

Attributes

Remarks

Two UTF7Encoding objects are equal if they both either allow or disallow optional characters, and if their underlying EncoderFallback and DecoderFallback properties are equal.

Applies to

See also