Equals Method

UTF32Encoding.Equals Method (Object)

 

Determines whether the specified Object is equal to the current UTF32Encoding object.

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

override Equals : 
        value:Object -> bool

Parameters

value
Type: System.Object

The Object to compare with the current object.

Return Value

Type: System.Boolean

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

Two 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 use the same encoder fallback.

  • Both objects use the same decoder fallback.

The following example creates UTF32Encoding objects using different parameter values and then checks them for equality.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft