SqlByte 結構
定義
表示要存放在資料庫或從資料庫擷取的 8 位元不帶正負號的整數 (Unsigned Integer),範圍介於 0 到 255 之間。Represents an 8-bit unsigned integer, in the range of 0 through 255, to be stored in or retrieved from a database.
public value class SqlByte : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlByte : IComparable, System::Data::SqlTypes::INullable
public struct SqlByte : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlByte : IComparable, System.Data.SqlTypes.INullable
[System.Serializable]
public struct SqlByte : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlByte = struct
interface INullable
interface IXmlSerializable
type SqlByte = struct
interface INullable
[<System.Serializable>]
type SqlByte = struct
interface INullable
interface IXmlSerializable
Public Structure SqlByte
Implements IComparable, INullable, IXmlSerializable
Public Structure SqlByte
Implements IComparable, INullable
- 繼承
- 屬性
- 實作
建構函式
SqlByte(Byte) |
使用指定的位元組值,初始化 SqlByte 結構的新執行個體。Initializes a new instance of the SqlByte structure using the specified byte value. |
欄位
MaxValue |
常數,表示 SqlByte 的最大可能值。A constant representing the largest possible value of a SqlByte. |
MinValue |
常數,表示 SqlByte 的最小可能值。A constant representing the smallest possible value of a SqlByte. |
Null |
表示 DBNull,可以指派至 SqlByte 結構的執行個體。Represents a DBNull that can be assigned to this instance of the SqlByte structure. |
Zero |
表示零值,其可以指派至 Value 結構之執行個體的 SqlByte 屬性。Represents a zero value that can be assigned to the Value property of an instance of the SqlByte structure. |
屬性
IsNull |
取得布林值,這個值表示這個 SqlByte 結構是否為 null。Gets a Boolean value that indicates whether this SqlByte structure is null. |
Value |
取得 SqlByte 結構的值。Gets the value of the SqlByte structure. 這個屬性是唯讀的。This property is read-only. |
方法
Add(SqlByte, SqlByte) |
計算兩個指定的 SqlByte 結構之總和。Computes the sum of the two specified SqlByte structures. |
BitwiseAnd(SqlByte, SqlByte) |
計算其 SqlByte 運算元的位元 AND 運算。Computes the bitwise AND of its SqlByte operands. |
BitwiseOr(SqlByte, SqlByte) |
執行其兩個 SqlByte 運算元的位元 OR 運算。Computes the bitwise OR of its two SqlByte operands. |
CompareTo(Object) |
將這個執行個體與提供的 Object 相比較,並傳回它們相對值的指示。Compares this instance to the supplied Object and returns an indication of their relative values. |
CompareTo(SqlByte) |
將這個執行個體與提供的 SqlByte 物件相比較,並傳回它們相對值的指示。Compares this instance to the supplied SqlByte object and returns an indication of their relative values. |
Divide(SqlByte, SqlByte) |
用 SqlByte 第二個運算元除第一個運算元。Divides its first SqlByte operand by its second. |
Equals(Object) |
將提供的 Object 參數與 Value 物件的 SqlByte 屬性相比較。Compares the supplied Object parameter to the Value property of the SqlByte object. |
Equals(SqlByte, SqlByte) |
執行兩個 SqlByte 結構的邏輯比對,以判斷它們是否相等。Performs a logical comparison of two SqlByte structures to determine whether they are equal. |
GetHashCode() |
傳回這個執行個體的雜湊碼。Returns the hash code for this instance. |
GetXsdType(XmlSchemaSet) |
傳回指定之 XmlSchemaSet 的 XML 結構描述定義語言 (XSD)。Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
GreaterThan(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否大於第二個。Compares two instances of SqlByte to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlByte, SqlByte) |
比較兩個 SqlByte 結構,判斷第一個結構是否大於或等於第二個。Compares two SqlByte structures to determine whether the first is greater than or equal to the second. |
LessThan(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否小於第二個。Compares two instances of SqlByte to determine whether the first is less than the second. |
LessThanOrEqual(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否小於或等於第二個。Compares two instances of SqlByte to determine whether the first is less than or equal to the second. |
Mod(SqlByte, SqlByte) |
在將餘數的第一個 SqlByte 運算元除以它的第二個運算元之後計算餘數。Computes the remainder after dividing its first SqlByte operand by its second. |
Modulus(SqlByte, SqlByte) |
為兩個 SqlByte 值進行除法運算,並傳回餘數。Divides two SqlByte values and returns the remainder. |
Multiply(SqlByte, SqlByte) |
計算兩個 SqlByte 運算元的乘積。Computes the product of the two SqlByte operands. |
NotEquals(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷它們是否不相等。Compares two instances of SqlByte to determine whether they are not equal. |
OnesComplement(SqlByte) |
一進位補數運算子在其 SqlByte 運算元上執行位元一進位補數作業。The ones complement operator performs a bitwise one's complement operation on its SqlByte operand. |
Parse(String) |
將數字的 String 表示轉換成它的對等 8 位元不帶正負號的整數。Converts the String representation of a number to its 8-bit unsigned integer equivalent. |
Subtract(SqlByte, SqlByte) |
從第一個 SqlByte 運算元減去第二個運算元。Subtracts the second SqlByte operand from the first. |
ToSqlBoolean() |
將這個 SqlByte 結構轉換為 SqlBoolean。Converts this SqlByte structure to SqlBoolean. |
ToSqlDecimal() |
將這個 SqlByte 結構轉換為 SqlDecimal。Converts this SqlByte structure to SqlDecimal. |
ToSqlDouble() |
將這個 SqlByte 結構轉換為 SqlDouble。Converts this SqlByte structure to SqlDouble. |
ToSqlInt16() |
將這個 SqlByte 結構轉換為 SqlInt16。Converts this SqlByte structure to SqlInt16. |
ToSqlInt32() | |
ToSqlInt64() |
將這個 SqlByte 結構轉換為 SqlInt64。Converts this SqlByte structure to SqlInt64. |
ToSqlMoney() |
將這個 SqlByte 結構轉換為 SqlMoney。Converts this SqlByte structure to SqlMoney. |
ToSqlSingle() |
將這個 SqlByte 結構轉換為 SqlSingle。Converts this SqlByte structure to SqlSingle. |
ToSqlString() |
將這個 SqlByte 的執行個體轉換成 SqlString。Converts this instance of SqlByte to SqlString. |
ToString() |
將這個 SqlByte 結構轉換成 String。Converts this SqlByte structure to a String. |
Xor(SqlByte, SqlByte) |
在提供的參數上執行位元 Exclusive-OR 運算。Performs a bitwise exclusive-OR operation on the supplied parameters. |
運算子
Addition(SqlByte, SqlByte) |
計算兩個指定的 SqlByte 結構之總和。Computes the sum of the two specified SqlByte structures. |
BitwiseAnd(SqlByte, SqlByte) |
計算其 SqlByte 運算元的位元 AND 運算。Computes the bitwise AND of its SqlByte operands. |
BitwiseOr(SqlByte, SqlByte) |
執行其兩個 SqlByte 運算元的位元 OR 運算。Computes the bitwise OR of its two SqlByte operands. |
Division(SqlByte, SqlByte) |
用 SqlByte 第二個運算元除第一個運算元。Divides its first SqlByte operand by its second. |
Equality(SqlByte, SqlByte) |
執行兩個 SqlByte 結構的邏輯比對,以判斷它們是否相等。Performs a logical comparison of two SqlByte structures to determine whether they are equal. |
ExclusiveOr(SqlByte, SqlByte) |
在提供的參數上執行位元 Exclusive-OR 運算。Performs a bitwise exclusive-OR operation on the supplied parameters. |
Explicit(SqlBoolean to SqlByte) |
將 SqlBoolean 參數轉換成 SqlByte。Converts the SqlBoolean parameter to a SqlByte. |
Explicit(SqlByte to Byte) |
將提供的 SqlByte 結構轉換成位元組。Converts the supplied SqlByte structure to a byte. |
Explicit(SqlDecimal to SqlByte) |
將提供的 SqlDecimal 轉換成 SqlByte。Converts the supplied SqlDecimal to SqlByte. |
Explicit(SqlDouble to SqlByte) |
將提供的 SqlDouble 轉換成 SqlByte。Converts the supplied SqlDouble to SqlByte. |
Explicit(SqlInt16 to SqlByte) |
將 SqlInt16 參數轉換成 SqlByte。Converts the SqlInt16 parameter to a SqlByte. |
Explicit(SqlInt32 to SqlByte) |
將提供的 SqlInt32 轉換成 SqlByte。Converts the supplied SqlInt32 to SqlByte. |
Explicit(SqlInt64 to SqlByte) |
將提供的 SqlInt64 轉換成 SqlByte。Converts the supplied SqlInt64 to SqlByte. |
Explicit(SqlMoney to SqlByte) |
將 SqlMoney 參數轉換成 SqlByte。Converts the SqlMoney parameter to a SqlByte. |
Explicit(SqlSingle to SqlByte) |
將提供的 SqlSingle 結構轉換成 SqlByte。Converts the supplied SqlSingle structure to SqlByte. |
Explicit(SqlString to SqlByte) |
將提供的 SqlString 轉換成 SqlByte。Converts the supplied SqlString to SqlByte. |
GreaterThan(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否大於第二個。Compares two instances of SqlByte to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否大於或等於第二個。Compares two instances of SqlByte to determine whether the first is greater than or equal to the second. |
Implicit(Byte to SqlByte) |
將提供的位元組值轉換成 SqlByte。Converts the supplied byte value to a SqlByte. |
Inequality(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷它們是否不相等。Compares two instances of SqlByte to determine whether they are not equal. |
LessThan(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否小於第二個。Compares two instances of SqlByte to determine whether the first is less than the second. |
LessThanOrEqual(SqlByte, SqlByte) |
比較 SqlByte 的兩個執行個體,判斷第一個執行個體是否小於或等於第二個。Compares two instances of SqlByte to determine whether the first is less than or equal to the second. |
Modulus(SqlByte, SqlByte) |
在將餘數的第一個 SqlByte 運算元除以它的第二個運算元之後計算餘數。Computes the remainder after dividing its first SqlByte operand by its second. |
Multiply(SqlByte, SqlByte) |
計算兩個 SqlByte 運算元的乘積。Computes the product of the two SqlByte operands. |
OnesComplement(SqlByte) |
一進位補數運算子在其 SqlByte 運算元上執行位元一進位補數作業。The ones complement operator performs a bitwise one's complement operation on its SqlByte operand. |
Subtraction(SqlByte, SqlByte) |
從第一個 SqlByte 運算元減去第二個運算元。Subtracts the second SqlByte operand from the first. |
明確介面實作
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) |
此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXmlSerializable.WriteXml(XmlWriter) |
此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |