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)

使用提供的長整數 (Long Integer),初始化 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,可以指派至 SqlInt64 結構的執行個體。Represents 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 運算元的位元 OR 運算。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)

在提供的參數上執行位元 Exclusive-OR 運算。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 運算元的位元 OR 運算。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)

在提供的參數上執行位元 Exclusive-OR 運算。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.

適用於

另請參閱