System.Text.UTF7Encoding.Equals Method

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

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public override bool Equals (object value)

Parameters

value
An object to compare to the current System.Text.UTF7Encoding object.

Returns

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

Remarks

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

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0