# SqlInt16.Equality(SqlInt16, SqlInt16)SqlInt16.Equality(SqlInt16, SqlInt16)SqlInt16.Equality(SqlInt16, SqlInt16)SqlInt16.Equality(SqlInt16, SqlInt16) Operator

## Definición

Realiza una comparación lógica de dos estructuras SqlInt16 para determinar si son iguales.Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

``````public:
static System::Data::SqlTypes::SqlBoolean operator ==(System::Data::SqlTypes::SqlInt16 x, System::Data::SqlTypes::SqlInt16 y);``````
``public static System.Data.SqlTypes.SqlBoolean operator == (System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y);``
``static member ( = ) : System.Data.SqlTypes.SqlInt16 * System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlBoolean``
``Public Shared Operator == (x As SqlInt16, y As SqlInt16) As SqlBoolean``

#### Parámetros

x
SqlInt16 SqlInt16 SqlInt16 SqlInt16

Estructura SqlInt16.A SqlInt16 structure.

y
SqlInt16 SqlInt16 SqlInt16 SqlInt16

Estructura SqlInt16.A SqlInt16 structure.

#### Devoluciones

SqlBoolean que es True si las dos instancias son iguales, o False si las dos instancias no son iguales.A SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. Si alguna de las instancias de SqlInt16 es null, el objeto Value de la estructura SqlBoolean será Null.If either instance of SqlInt16 is null, the Value of the SqlBoolean will be Null.

## Comentarios

El método equivalente para este operador es SqlInt16.Equals(SqlInt16, SqlInt16).The equivalent method for this operator is SqlInt16.Equals(SqlInt16, SqlInt16).