SqlInt16::Equals Method (SqlInt16, SqlInt16)

 

Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
static SqlBoolean Equals(
	SqlInt16 x,
	SqlInt16 y
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

y
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

Return Value

Type: System.Data.SqlTypes::SqlBoolean

true if the two values are equal. Otherwise, false. If either instance is null, then the SqlInt16 will be null.

.NET Framework
Available since 1.1
Return to top
Show: