Equals Method (Char)
Collapse the table of content
Expand the table of content

Char.Equals Method (Char)

[ 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 the specified Char object.

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

'Declaration
Public Function Equals ( _
	obj As Char _
) As Boolean

Parameters

obj
Type: System.Char
A Char object to compare to this instance.

Return Value

Type: System.Boolean
true if the value parameter equals the value of this instance; otherwise, false.

Implements

IEquatable(Of T).Equals(T)

This method implements the System.IEquatable(Of T) interface, and performs slightly better than Char.Equals because it does not need to unbox the obj parameter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft