Upraviť

Zdieľať cez


SqlByte Struct

Definition

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, IEquatable<System::Data::SqlTypes::SqlByte>, 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, IEquatable<System.Data.SqlTypes.SqlByte>, 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, IEquatable(Of SqlByte), INullable, IXmlSerializable
Public Structure SqlByte
Implements IComparable, INullable
Inheritance
SqlByte
Attributes
Implements

Constructors

SqlByte(Byte)

Initializes a new instance of the SqlByte structure using the specified byte value.

Fields

MaxValue

A constant representing the largest possible value of a SqlByte.

MinValue

A constant representing the smallest possible value of a SqlByte.

Null

Represents a DBNull that can be assigned to this instance of the SqlByte structure.

Zero

Represents a zero value that can be assigned to the Value property of an instance of the SqlByte structure.

Properties

IsNull

Gets a Boolean value that indicates whether this SqlByte structure is null.

Value

Gets the value of the SqlByte structure. This property is read-only.

Methods

Add(SqlByte, SqlByte)

Computes the sum of the two specified SqlByte structures.

BitwiseAnd(SqlByte, SqlByte)

Computes the bitwise AND of its SqlByte operands.

BitwiseOr(SqlByte, SqlByte)

Computes the bitwise OR of its two SqlByte operands.

CompareTo(Object)

Compares this instance to the supplied Object and returns an indication of their relative values.

CompareTo(SqlByte)

Compares this instance to the supplied SqlByte object and returns an indication of their relative values.

Divide(SqlByte, SqlByte)

Divides its first SqlByte operand by its second.

Equals(Object)

Compares the supplied Object parameter to the Value property of the SqlByte object.

Equals(SqlByte)

Indicates whether the current instance is equal to another instance of the same type.

Equals(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)

Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

GreaterThan(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlByte, SqlByte)

Compares two SqlByte structures to determine whether the first is greater than or equal to the second.

LessThan(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is less than the second.

LessThanOrEqual(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is less than or equal to the second.

Mod(SqlByte, SqlByte)

Computes the remainder after dividing its first SqlByte operand by its second.

Modulus(SqlByte, SqlByte)

Divides two SqlByte values and returns the remainder.

Multiply(SqlByte, SqlByte)

Computes the product of the two SqlByte operands.

NotEquals(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether they are not equal.

OnesComplement(SqlByte)

The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.

Parse(String)

Converts the String representation of a number to its 8-bit unsigned integer equivalent.

Subtract(SqlByte, SqlByte)

Subtracts the second SqlByte operand from the first.

ToSqlBoolean()

Converts this SqlByte structure to SqlBoolean.

ToSqlDecimal()

Converts this SqlByte structure to SqlDecimal.

ToSqlDouble()

Converts this SqlByte structure to SqlDouble.

ToSqlInt16()

Converts this SqlByte structure to SqlInt16.

ToSqlInt32()

Converts this SqlByte to SqlInt32.

ToSqlInt64()

Converts this SqlByte structure to SqlInt64.

ToSqlMoney()

Converts this SqlByte structure to SqlMoney.

ToSqlSingle()

Converts this SqlByte structure to SqlSingle.

ToSqlString()

Converts this instance of SqlByte to SqlString.

ToString()

Converts this SqlByte structure to a String.

Xor(SqlByte, SqlByte)

Performs a bitwise exclusive-OR operation on the supplied parameters.

Operators

Addition(SqlByte, SqlByte)

Computes the sum of the two specified SqlByte structures.

BitwiseAnd(SqlByte, SqlByte)

Computes the bitwise AND of its SqlByte operands.

BitwiseOr(SqlByte, SqlByte)

Computes the bitwise OR of its two SqlByte operands.

Division(SqlByte, SqlByte)

Divides its first SqlByte operand by its second.

Equality(SqlByte, SqlByte)

Performs a logical comparison of two SqlByte structures to determine whether they are equal.

ExclusiveOr(SqlByte, SqlByte)

Performs a bitwise exclusive-OR operation on the supplied parameters.

Explicit(SqlBoolean to SqlByte)

Converts the SqlBoolean parameter to a SqlByte.

Explicit(SqlByte to Byte)

Converts the supplied SqlByte structure to a byte.

Explicit(SqlDecimal to SqlByte)

Converts the supplied SqlDecimal to SqlByte.

Explicit(SqlDouble to SqlByte)

Converts the supplied SqlDouble to SqlByte.

Explicit(SqlInt16 to SqlByte)

Converts the SqlInt16 parameter to a SqlByte.

Explicit(SqlInt32 to SqlByte)

Converts the supplied SqlInt32 to SqlByte.

Explicit(SqlInt64 to SqlByte)

Converts the supplied SqlInt64 to SqlByte.

Explicit(SqlMoney to SqlByte)

Converts the SqlMoney parameter to a SqlByte.

Explicit(SqlSingle to SqlByte)

Converts the supplied SqlSingle structure to SqlByte.

Explicit(SqlString to SqlByte)

Converts the supplied SqlString to SqlByte.

GreaterThan(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is greater than or equal to the second.

Implicit(Byte to SqlByte)

Converts the supplied byte value to a SqlByte.

Inequality(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether they are not equal.

LessThan(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is less than the second.

LessThanOrEqual(SqlByte, SqlByte)

Compares two instances of SqlByte to determine whether the first is less than or equal to the second.

Modulus(SqlByte, SqlByte)

Computes the remainder after dividing its first SqlByte operand by its second.

Multiply(SqlByte, SqlByte)

Computes the product of the two SqlByte operands.

OnesComplement(SqlByte)

The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.

Subtraction(SqlByte, SqlByte)

Subtracts the second SqlByte operand from the first.

Explicit Interface Implementations

IXmlSerializable.GetSchema()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.ReadXml(XmlReader)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.WriteXml(XmlWriter)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Applies to

See also