SqlByte.Equals 方法
定义
重载
| Equals(SqlByte, SqlByte) |
对两个 SqlByte 结构执行逻辑比较,以确定它们是否相等。Performs a logical comparison of two SqlByte structures to determine whether they are equal. |
| Equals(Object) |
将提供的 Object 参数与 Value 对象的 SqlByte 属性进行比较。Compares the supplied Object parameter to the Value property of the SqlByte object. |
Equals(SqlByte, SqlByte)
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlByte x, System::Data::SqlTypes::SqlByte y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y);
static member Equals : System.Data.SqlTypes.SqlByte * System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlByte, y As SqlByte) As SqlBoolean
参数
返回
如果两个值相等,则为 true。true if the two values are equal. 否则为 false。Otherwise, false. 如果任一实例为 null,则 SqlByte 将为 null。If either instance is null, then the SqlByte will be null.
适用于
Equals(Object)
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object value);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
参数
返回
如果对象是 SqlByte 的实例并且两者相等,则为 true;否则为 false。true if object is an instance of SqlByte and the two are equal; otherwise false.