System.Text.UTF32Encoding.Equals Method

Determines whether the specified object is equal to the current System.Text.UTF32Encoding object.

Syntax

public override bool Equals (object value)

Parameters

value
The object to compare with the current object.

Returns

true if value is an instance of System.Text.UTF32Encoding and is equal to the current object; otherwise, false.

Remarks

Two System.Text.UTF32Encoding objects are considered equal if all of the following conditions are true:

  • Both objects use the same byte order.

  • Both objects provide the byte order mark, or both do not.

  • Both objects throw an exception when encountering invalid encoding, or both do not.

Requirements

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