SqlByte.LessThanOrEqual(SqlByte, SqlByte) SqlByte.LessThanOrEqual(SqlByte, SqlByte) SqlByte.LessThanOrEqual(SqlByte, SqlByte) SqlByte.LessThanOrEqual(SqlByte, SqlByte) Operator

定义

SqlByte 的两个实例进行比较,以确定第一个实例是否小于或等于第二个实例。Compares two instances of SqlByte to determine whether the first is less than or equal to the second.

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

参数

x
SqlByte SqlByte SqlByte SqlByte

一个 SqlByte 结构。A SqlByte structure.

y
SqlByte SqlByte SqlByte SqlByte

一个 SqlByte 结构。A SqlByte structure.

返回

一个 SqlBoolean,如果第一个实例小于或等于第二个实例,则它为 TrueA SqlBoolean that is True if the first instance is less than or equal to the second instance. 否则为 FalseOtherwise, False. 如果 SqlByte 的任一实例为空,则 ValueSqlBoolean 将为 NullIf either instance of SqlByte is null, the Value of the SqlBoolean will be Null.

注解

此运算符的等效方法是LessThanOrEqual(SqlByte, SqlByte)The equivalent method for this operator is LessThanOrEqual(SqlByte, SqlByte).

适用于

另请参阅