Bridge

Nullable<(Of <(<'T>)>)>..::..Equals Method

Indicates whether the current Nullable<(Of <(<'T>)>)> object is equal to a specified object.

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

Syntax


[TemplateAttribute]
public bool Equals(
	Object other
)
<TemplateAttribute> _
Public Function Equals ( _
	other As Object _
) As Boolean
[TemplateAttribute]
public:
bool^ Equals(
	Object^ other
)

Parameters

other
Type: System..::..Object
An object.

Return Value

true if the other parameter is equal to the current Nullable<(Of <(<'T>)>)> object; otherwise, false. This table describes how equality is defined for the compared values: Return ValueDescriptiontrueThe HasValue property is false, and the other parameter is null. That is, two null values are equal by definition.-or-The HasValue property is true, and the value returned by the Value property is equal to the other parameter.falseThe HasValue property for the current Nullable<(Of <(<'T>)>)> structure is true, and the other parameter is null.-or-The HasValue property for the current Nullable<(Of <(<'T>)>)> structure is false, and the other parameter is not null.-or-The HasValue property for the current Nullable<(Of <(<'T>)>)> structure is true, and the value returned by the Value property is not equal to the other parameter.