SqlInt64 SqlInt64 SqlInt64 SqlInt64 Struct

定义

表示要在数据库中存储或检索的 64 位有符号整数。Represents a 64-bit signed integer to be stored in or retrieved from a database.

public value class SqlInt64 : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
[System.Serializable]
public struct SqlInt64 : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlInt64 = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlInt64
Implements IComparable, INullable, IXmlSerializable
继承
属性
实现

构造函数

SqlInt64(Int64) SqlInt64(Int64) SqlInt64(Int64) SqlInt64(Int64)

使用提供的长整型初始化 SqlInt64 结构的新实例。Initializes a new instance of the SqlInt64 structure using the supplied long integer.

字段

MaxValue MaxValue MaxValue MaxValue

一个常数,表示 SqlInt64 结构的可能的最大值。A constant representing the largest possible value for a SqlInt64 structure.

MinValue MinValue MinValue MinValue

一个常数,表示 SqlInt64 结构的可能的最小值。A constant representing the smallest possible value for a SqlInt64 structure.

Null Null Null Null

表示可指派给 DBNull 结构的此实例的 SqlInt64Represents a DBNull that can be assigned to this instance of the SqlInt64 structure.

Zero Zero Zero Zero

表示可分配给 Value 结构实例的 SqlInt64 属性的零值。Represents a zero value that can be assigned to the Value property of an instance of the SqlInt64 structure.

属性

IsNull IsNull IsNull IsNull

获取一个布尔值,该值指示此 SqlInt64 结构是否为 null。Gets a Boolean value that indicates whether this SqlInt64 structure is null.

Value Value Value Value

获取此 SqlInt64 结构的值。Gets the value of this SqlInt64 structure. 此属性是只读的。This property is read-only.

方法

Add(SqlInt64, SqlInt64) Add(SqlInt64, SqlInt64) Add(SqlInt64, SqlInt64) Add(SqlInt64, SqlInt64)

计算两个 SqlInt64 参数的和。Computes the sum of the two SqlInt64 parameters.

BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64)

对其 SqlInt64 操作数执行按位 AND 运算。Computes the bitwise AND of its SqlInt64 operands.

BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64)

对其两个 SqlInt64 操作数执行按位“或”计算。Computes the bitwise OR of its two SqlInt64 operands.

CompareTo(SqlInt64) CompareTo(SqlInt64) CompareTo(SqlInt64) CompareTo(SqlInt64)

将此 SqlInt64 实例与所提供的 SqlInt64 进行比较,并返回二者相对值的指示值。Compares this SqlInt64 instance to the supplied SqlInt64 and returns an indication of their relative values.

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

将此 SqlInt64 实例与所提供的 Object 进行比较,并返回二者相对值的指示值。Compares this SqlInt64 instance to the supplied Object and returns an indication of their relative values.

Divide(SqlInt64, SqlInt64) Divide(SqlInt64, SqlInt64) Divide(SqlInt64, SqlInt64) Divide(SqlInt64, SqlInt64)

将第一个 SqlInt64 参数除以第二个参数。Divides the first SqlInt64 parameter by the second.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

将提供的对象参数与 Value 对象的 SqlInt64 属性进行比较。Compares the supplied object parameter to the Value property of the SqlInt64 object.

Equals(SqlInt64, SqlInt64) Equals(SqlInt64, SqlInt64) Equals(SqlInt64, SqlInt64) Equals(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定它们是否相等。Performs a logical comparison of the two SqlInt64 parameters to determine whether they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回此实例的哈希代码。Returns the hash code for this instance.

GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet)

返回指定的 XmlSchemaSet 的 XML 架构定义语言 (XSD)。Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否大于第二个参数。Performs a logical comparison of the two SqlInt64 parameters to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否大于或等于第二个参数。Performs a logical comparison of the two SqlInt64 parameters to determine whether the first is greater than or equal to the second.

LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否小于第二个参数。Performs a logical comparison on the two SqlInt64 parameters to determine whether the first is less than the second.

LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否小于或等于第二个参数。Performs a logical comparison on the two SqlInt64 parameters to determine whether the first is less than or equal to the second.

Mod(SqlInt64, SqlInt64) Mod(SqlInt64, SqlInt64) Mod(SqlInt64, SqlInt64) Mod(SqlInt64, SqlInt64)

计算将第一个 SqlInt64 参数除以第二个参数后所得的余数。Computes the remainder after dividing the first SqlInt64 parameter by the second.

Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64)

将两个 SqlInt64 值相除,并返回余数。Divides two SqlInt64 values and returns the remainder.

Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64)

计算两个 SqlInt64 参数的乘积。Computes the product of the two SqlInt64 parameters.

NotEquals(SqlInt64, SqlInt64) NotEquals(SqlInt64, SqlInt64) NotEquals(SqlInt64, SqlInt64) NotEquals(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定它们是否相等。Performs a logical comparison on the two SqlInt64 parameters to determine whether they are not equal.

OnesComplement(SqlInt64) OnesComplement(SqlInt64) OnesComplement(SqlInt64) OnesComplement(SqlInt64)

对它的 SqlInt64 操作数执行按位二进制反码运算。Performs a bitwise one's complement operation on its SqlInt64 operand.

Parse(String) Parse(String) Parse(String) Parse(String)

将数字的 String 表示形式转换为它的等效 64 位有符号整数。Converts the String representation of a number to its 64-bit signed integer equivalent.

Subtract(SqlInt64, SqlInt64) Subtract(SqlInt64, SqlInt64) Subtract(SqlInt64, SqlInt64) Subtract(SqlInt64, SqlInt64)

从第一个 SqlInt64 参数中减去第二个参数。Subtracts the second SqlInt64 parameter from the first.

ToSqlBoolean() ToSqlBoolean() ToSqlBoolean() ToSqlBoolean()

将此 SqlInt64 结构转换为 SqlBooleanConverts this SqlInt64 structure to SqlBoolean.

ToSqlByte() ToSqlByte() ToSqlByte() ToSqlByte()

将此 SqlInt64 结构转换为 SqlByteConverts this SqlInt64 structure to SqlByte.

ToSqlDecimal() ToSqlDecimal() ToSqlDecimal() ToSqlDecimal()

将此 SqlInt64 结构转换为 SqlDecimalConverts this SqlInt64 structure to SqlDecimal.

ToSqlDouble() ToSqlDouble() ToSqlDouble() ToSqlDouble()

将此 SqlInt64 结构转换为 SqlDoubleConverts this SqlInt64 structure to SqlDouble.

ToSqlInt16() ToSqlInt16() ToSqlInt16() ToSqlInt16()

将此 SqlInt64 结构转换为 SqlInt16Converts this SqlInt64 structure to SqlInt16.

ToSqlInt32() ToSqlInt32() ToSqlInt32() ToSqlInt32()

将此 SqlInt64 结构转换为 SqlInt32Converts this SqlInt64 structure to SqlInt32.

ToSqlMoney() ToSqlMoney() ToSqlMoney() ToSqlMoney()

将此 SqlInt64 结构转换为 SqlMoneyConverts this SqlInt64 structure to SqlMoney.

ToSqlSingle() ToSqlSingle() ToSqlSingle() ToSqlSingle()

将此 SqlInt64 结构转换为 SqlSingleConverts this SqlInt64 structure to SqlSingle.

ToSqlString() ToSqlString() ToSqlString() ToSqlString()

将此 SqlInt64 结构转换为 SqlStringConverts this SqlInt64 structure to SqlString.

ToString() ToString() ToString() ToString()

SqlInt64 的此实例转换为 StringConverts this instance of SqlInt64 to String.

Xor(SqlInt64, SqlInt64) Xor(SqlInt64, SqlInt64) Xor(SqlInt64, SqlInt64) Xor(SqlInt64, SqlInt64)

对提供的参数执行按位“异或”运算。Performs a bitwise exclusive-OR operation on the supplied parameters.

操作员

Addition(SqlInt64, SqlInt64) Addition(SqlInt64, SqlInt64) Addition(SqlInt64, SqlInt64) Addition(SqlInt64, SqlInt64)

计算两个 SqlInt64 参数的和。Computes the sum of the two SqlInt64 parameters.

BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64) BitwiseAnd(SqlInt64, SqlInt64)

对其 SqlInt64 操作数执行按位 AND 运算。Computes the bitwise AND of its SqlInt64 operands.

BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64) BitwiseOr(SqlInt64, SqlInt64)

对其两个 SqlInt64 操作数执行按位“或”计算。Computes the bitwise OR of its two SqlInt64 operands.

Division(SqlInt64, SqlInt64) Division(SqlInt64, SqlInt64) Division(SqlInt64, SqlInt64) Division(SqlInt64, SqlInt64)

将第一个 SqlInt64 参数除以第二个参数。Divides the first SqlInt64 parameter by the second.

Equality(SqlInt64, SqlInt64) Equality(SqlInt64, SqlInt64) Equality(SqlInt64, SqlInt64) Equality(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定它们是否相等。Performs a logical comparison of the two SqlInt64 parameters to determine whether they are equal.

ExclusiveOr(SqlInt64, SqlInt64) ExclusiveOr(SqlInt64, SqlInt64) ExclusiveOr(SqlInt64, SqlInt64) ExclusiveOr(SqlInt64, SqlInt64)

对提供的参数执行按位“异或”运算。Performs a bitwise exclusive-OR operation on the supplied parameters.

Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64)

将提供的 SqlString 参数转换为 SqlInt64Converts the supplied SqlString parameter to SqlInt64.

Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64)

将提供的 SqlSingle 参数转换为 SqlInt64Converts the supplied SqlSingle parameter to SqlInt64.

Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64)

SqlInt64 参数转换为长值。Converts the SqlInt64 parameter to long.

Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64)

将提供的 SqlMoney 参数转换为 SqlInt64Converts the supplied SqlMoney parameter to SqlInt64.

Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64)

将提供的 SqlDecimal 参数转换为 SqlInt64Converts the supplied SqlDecimal parameter to SqlInt64.

Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64)

将提供的 SqlBoolean 参数转换为 SqlInt64Converts the supplied SqlBoolean parameter to SqlInt64.

Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64)

将提供的 SqlDouble 结构转换为 SqlInt64Converts the supplied SqlDouble structure to SqlInt64.

GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64) GreaterThan(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否大于第二个参数。Performs a logical comparison of the two SqlInt64 parameters to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64) GreaterThanOrEqual(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否大于或等于第二个参数。Performs a logical comparison of the two SqlInt64 parameters to determine whether the first is greater than or equal to the second.

Implicit(Int64 to SqlInt64) Implicit(Int64 to SqlInt64) Implicit(Int64 to SqlInt64) Implicit(Int64 to SqlInt64)

将长参数转换为 SqlInt64Converts the long parameter to SqlInt64.

Implicit(SqlByte to SqlInt64) Implicit(SqlByte to SqlInt64) Implicit(SqlByte to SqlInt64) Implicit(SqlByte to SqlInt64)

将提供的 SqlByte 参数转换为 SqlInt64Converts the supplied SqlByte parameter to SqlInt64.

Implicit(SqlInt16 to SqlInt64) Implicit(SqlInt16 to SqlInt64) Implicit(SqlInt16 to SqlInt64) Implicit(SqlInt16 to SqlInt64)

将提供的 SqlInt16 参数转换为 SqlInt64Converts the supplied SqlInt16 parameter to SqlInt64.

Implicit(SqlInt32 to SqlInt64) Implicit(SqlInt32 to SqlInt64) Implicit(SqlInt32 to SqlInt64) Implicit(SqlInt32 to SqlInt64)

将提供的 SqlInt32 参数转换为 SqlInt64Converts the supplied SqlInt32 parameter to SqlInt64.

Inequality(SqlInt64, SqlInt64) Inequality(SqlInt64, SqlInt64) Inequality(SqlInt64, SqlInt64) Inequality(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定它们是否相等。Performs a logical comparison on the two SqlInt64 parameters to determine whether they are not equal.

LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64) LessThan(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否小于第二个参数。Performs a logical comparison on the two SqlInt64 parameters to determine whether the first is less than the second.

LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64) LessThanOrEqual(SqlInt64, SqlInt64)

对两个 SqlInt64 参数执行逻辑比较,以确定第一个参数是否小于或等于第二个参数。Performs a logical comparison on the two SqlInt64 parameters to determine whether the first is less than or equal to the second.

Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64) Modulus(SqlInt64, SqlInt64)

计算将第一个 SqlInt64 参数除以第二个参数后所得的余数。Computes the remainder after dividing the first SqlInt64 parameter by the second.

Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64) Multiply(SqlInt64, SqlInt64)

计算两个 SqlInt64 参数的乘积。Computes the product of the two SqlInt64 parameters.

OnesComplement(SqlInt64) OnesComplement(SqlInt64) OnesComplement(SqlInt64) OnesComplement(SqlInt64)

对它的 SqlInt64 操作数执行按位二进制反码运算。Performs a bitwise one's complement operation on its SqlInt64 operand.

Subtraction(SqlInt64, SqlInt64) Subtraction(SqlInt64, SqlInt64) Subtraction(SqlInt64, SqlInt64) Subtraction(SqlInt64, SqlInt64)

从第一个 SqlInt64 参数中减去第二个参数。Subtracts the second SqlInt64 parameter from the first.

UnaryNegation(SqlInt64) UnaryNegation(SqlInt64) UnaryNegation(SqlInt64) UnaryNegation(SqlInt64)

一元负运算符对 Value 操作数的 SqlInt64 求反。The unary minus operator negates the Value of the SqlInt64 operand.

显式界面实现

IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema()

此成员支持 .NET Framework 结构,不能在代码中直接使用。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader)

此成员支持 .NET Framework 结构,不能在代码中直接使用。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter)

此成员支持 .NET Framework 结构,不能在代码中直接使用。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

适用于

另请参阅