This topic has not yet been rated - Rate this topic

SqlByte Structure

Represents an 8-bit unsigned integer, in the range of 0 through 255, to be stored in or retrieved from a database.

Namespace:  System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)
[SerializableAttribute]
public struct SqlByte : INullable, IComparable, 
	IXmlSerializable

The SqlByte type exposes the following members.

  Name Description
Public method Supported by the XNA Framework SqlByte Initializes a new instance of the SqlByte structure using the specified byte value.
Top
  Name Description
Public property Supported by the XNA Framework IsNull Gets a Boolean value that indicates whether this SqlByte structure is null.
Public property Supported by the XNA Framework Value Gets the value of the SqlByte structure. This property is read-only
Top
  Name Description
Public method Static member Supported by the XNA Framework Add Computes the sum of the two specified SqlByte structures.
Public method Static member Supported by the XNA Framework BitwiseAnd Computes the bitwise AND of its SqlByte operands.
Public method Static member Supported by the XNA Framework BitwiseOr Computes the bitwise OR of its two SqlByte operands.
Public method Supported by the XNA Framework CompareTo(Object) Compares this instance to the supplied Object and returns an indication of their relative values.
Public method Supported by the XNA Framework CompareTo(SqlByte) Compares this instance to the supplied SqlByte object and returns an indication of their relative values.
Public method Static member Supported by the XNA Framework Divide Divides its first SqlByte operand by its second.
Public method Supported by the XNA Framework Equals(Object) Compares the supplied Object parameter to the Value property of the SqlByte object. (Overrides ValueType.Equals(Object).)
Public method Static member Supported by the XNA Framework Equals(SqlByte, SqlByte) Performs a logical comparison of two SqlByte structures to determine whether they are equal.
Protected method Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the XNA Framework GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Supported by the XNA Framework GetXsdType Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public method Static member Supported by the XNA Framework GreaterThan Compares two instances of SqlByte to determine whether the first is greater than the second.
Public method Static member Supported by the XNA Framework GreaterThanOrEqual Compares two SqlByte structures to determine whether the first is greater than or equal to the second.
Public method Static member Supported by the XNA Framework LessThan Compares two instances of SqlByte to determine whether the first is less than the second.
Public method Static member Supported by the XNA Framework LessThanOrEqual Compares two instances of SqlByte to determine whether the first is less than or equal to the second.
Protected method Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the XNA Framework Mod Computes the remainder after dividing its first SqlByte operand by its second.
Public method Static member Supported by the XNA Framework Modulus Divides two SqlByte values and returns the remainder.
Public method Static member Supported by the XNA Framework Multiply Computes the product of the two SqlByte operands.
Public method Static member Supported by the XNA Framework NotEquals Compares two instances of SqlByte to determine whether they are not equal.
Public method Static member Supported by the XNA Framework OnesComplement The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.
Public method Static member Supported by the XNA Framework Parse Converts the String representation of a number to its 8-bit unsigned integer equivalent.
Public method Static member Supported by the XNA Framework Subtract Subtracts the second SqlByte operand from the first.
Public method Supported by the XNA Framework ToSqlBoolean Converts this SqlByte structure to SqlBoolean.
Public method Supported by the XNA Framework ToSqlDecimal Converts this SqlByte structure to SqlDecimal.
Public method Supported by the XNA Framework ToSqlDouble Converts this SqlByte structure to SqlDouble.
Public method Supported by the XNA Framework ToSqlInt16 Converts this SqlByte structure to SqlInt16.
Public method Supported by the XNA Framework ToSqlInt32 Converts this SqlByte to SqlInt32.
Public method Supported by the XNA Framework ToSqlInt64 Converts this SqlByte structure to SqlInt64.
Public method Supported by the XNA Framework ToSqlMoney Converts this SqlByte structure to SqlMoney.
Public method Supported by the XNA Framework ToSqlSingle Converts this SqlByte structure to SqlSingle.
Public method Supported by the XNA Framework ToSqlString Converts this instance of SqlByte to SqlString.
Public method Supported by the XNA Framework ToString Converts this SqlByte structure to a String. (Overrides ValueType.ToString().)
Public method Static member Supported by the XNA Framework Xor Performs a bitwise exclusive-OR operation on the supplied parameters.
Top
  Name Description
Public operator Static member Supported by the XNA Framework Addition Computes the sum of the two specified SqlByte structures.
Public operator Static member Supported by the XNA Framework BitwiseAnd Computes the bitwise AND of its SqlByte operands.
Public operator Static member Supported by the XNA Framework BitwiseOr Computes the bitwise OR of its two SqlByte operands.
Public operator Static member Supported by the XNA Framework Division Divides its first SqlByte operand by its second.
Public operator Static member Supported by the XNA Framework Equality Performs a logical comparison of two SqlByte structures to determine whether they are equal.
Public operator Static member Supported by the XNA Framework ExclusiveOr Performs a bitwise exclusive-OR operation on the supplied parameters.
Public operator Static member Supported by the XNA Framework Explicit(SqlBoolean to SqlByte) Converts the SqlBoolean parameter to a SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlByte to Byte) Converts the supplied SqlByte structure to a byte.
Public operator Static member Supported by the XNA Framework Explicit(SqlDecimal to SqlByte) Converts the supplied SqlDecimal to SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlDouble to SqlByte) Converts the supplied SqlDouble to SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlInt16 to SqlByte) Converts the SqlInt16 parameter to a SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlInt32 to SqlByte) Converts the supplied SqlInt32 to SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlInt64 to SqlByte) Converts the supplied SqlInt64 to SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlMoney to SqlByte) Converts the SqlMoney parameter to a SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlSingle to SqlByte) Converts the supplied SqlSingle structure to SqlByte.
Public operator Static member Supported by the XNA Framework Explicit(SqlString to SqlByte) Converts the supplied SqlString to SqlByte.
Public operator Static member Supported by the XNA Framework GreaterThan Compares two instances of SqlByte to determine whether the first is greater than the second.
Public operator Static member Supported by the XNA Framework GreaterThanOrEqual Compares two instances of SqlByte to determine whether the first is greater than or equal to the second.
Public operator Static member Supported by the XNA Framework Implicit(Byte to SqlByte) Converts the supplied byte value to a SqlByte.
Public operator Static member Supported by the XNA Framework Inequality Compares two instances of SqlByte to determine whether they are not equal.
Public operator Static member Supported by the XNA Framework LessThan Compares two instances of SqlByte to determine whether the first is less than the second.
Public operator Static member Supported by the XNA Framework LessThanOrEqual Compares two instances of SqlByte to determine whether the first is less than or equal to the second.
Public operator Static member Supported by the XNA Framework Modulus Computes the remainder after dividing its first SqlByte operand by its second.
Public operator Static member Supported by the XNA Framework Multiply Computes the product of the two SqlByte operands.
Public operator Static member Supported by the XNA Framework OnesComplement The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.
Public operator Static member Supported by the XNA Framework Subtraction Subtracts the second SqlByte operand from the first.
Top
  Name Description
Public field Static member Supported by the XNA Framework MaxValue A constant representing the largest possible value of a SqlByte.
Public field Static member Supported by the XNA Framework MinValue A constant representing the smallest possible value of a SqlByte.
Public field Static member Supported by the XNA Framework Null Represents a DBNull that can be assigned to this instance of the SqlByte structure.
Public field Static member Supported by the XNA Framework Zero Represents a zero value that can be assigned to the Value property of an instance of the SqlByte structure.
Top
  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ