public static Equals ( |
||
x | ||
y | ||
Résultat |
public static SqlBoolean Equals(SqlMoney x, SqlMoney y)
{
return (x == y);
}
SqlMoney::Equals ( object value ) : bool |
/** * Performs a logical comparison on two instances of SqlMoney to determine if they are equal. * @param x A SqlMoney instance. * @param y A SqlMoney instance. * @return true if the two values are equal, otherwise false. * If one of the parameters is null or null value return SqlBoolean.Null. */ public static SqlBoolean Equals(SqlMoney x, SqlMoney y) { if (x.IsNull || y.IsNull) { return(SqlBoolean.Null); } if (x.Equals(y)) { return(SqlBoolean.True); } return(SqlBoolean.False); }