UInt32.Equals Method (UInt32)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a value indicating whether this instance is equal to a specified UInt32.

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

Syntax

Public Function Equals ( _
    obj As UInteger _
) As Boolean
public bool Equals(
    uint obj
)

Parameters

Return Value

Type: System..::.Boolean
true if obj has the same value as this instance; otherwise, false.

Implements

IEquatable<(Of <(T>)>)..::.Equals(T)

Remarks

This method implements the System..::.IEquatable<(Of <(T>)>) interface, and performs slightly better than Equals because it does not have to convert the obj parameter to an object.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

UInt32 Structure

Equals Overload

System Namespace