This documentation is archived and is not being maintained.

SqlByte Members

SqlByte overview

Public Constructors

public constructorSqlByte Constructor

Supported by the .NET Compact Framework.

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

Public Fields

public fieldstatic (Shared in Visual Basic)MaxValue

Supported by the .NET Compact Framework.

A constant representing the largest possible value of a SqlByte.
public fieldstatic (Shared in Visual Basic)MinValue

Supported by the .NET Compact Framework.

A constant representing the smallest possible value of a SqlByte.
public fieldstatic (Shared in Visual Basic)Null

Supported by the .NET Compact Framework.

Represents a null value that can be assigned to the Value property of an instance of the SqlByte structure.
public fieldstatic (Shared in Visual Basic)Zero

Supported by the .NET Compact Framework.

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

Public Properties

public propertyIsNull

Supported by the .NET Compact Framework.

Indicates whether or not Value is null.
public propertyValue

Supported by the .NET Compact Framework.

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

Public Methods

public methodstatic (Shared in Visual Basic)Add

Supported by the .NET Compact Framework.

Computes the sum of the two specified SqlByte structures.
public methodstatic (Shared in Visual Basic)BitwiseAnd

Supported by the .NET Compact Framework.

Computes the bitwise AND of its SqlByte operands.
public methodstatic (Shared in Visual Basic)BitwiseOr

Supported by the .NET Compact Framework.

Computes the bitwise OR of its two SqlByte operands.
public methodCompareTo

Supported by the .NET Compact Framework.

Compares this instance to the supplied object and returns an indication of their relative values.
public methodstatic (Shared in Visual Basic)Divide

Supported by the .NET Compact Framework.

Divides its first SqlByte operand by its second.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded. Overridden. Performs a logical comparison to determine if a SqlByte structure's value is equal to another object.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)GreaterThan

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is greater than the second.
public methodstatic (Shared in Visual Basic)GreaterThanOrEqual

Supported by the .NET Compact Framework.

Compares two SqlByte structures to determine if the first is greater than or equal to the second.
public methodstatic (Shared in Visual Basic)LessThan

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is less than the second.
public methodstatic (Shared in Visual Basic)LessThanOrEqual

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is less than or equal to the second.
public methodstatic (Shared in Visual Basic)Mod

Supported by the .NET Compact Framework.

Computes the remainder after dividing its first SqlByte operand by its second.
public methodstatic (Shared in Visual Basic)Multiply

Supported by the .NET Compact Framework.

Computes the product of the two SqlByte operands.
public methodstatic (Shared in Visual Basic)NotEquals

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if they are not equal.
public methodstatic (Shared in Visual Basic)OnesComplement

Supported by the .NET Compact Framework.

The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.
public methodstatic (Shared in Visual Basic)Parse

Supported by the .NET Compact Framework.

Converts the String representation of a number to its 8-bit unsigned integer equivalent.
public methodstatic (Shared in Visual Basic)Subtract

Supported by the .NET Compact Framework.

Subtracts the second SqlByte operand from the first.
public methodToSqlBoolean

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlBoolean.
public methodToSqlDecimal

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlDecimal.
public methodToSqlDouble

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlDouble.
public methodToSqlInt16

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlInt16.
public methodToSqlInt32

Supported by the .NET Compact Framework.

Converts this SqlByte to SqlInt32.
public methodToSqlInt64

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlInt64.
public methodToSqlMoney

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlMoney.
public methodToSqlSingle

Supported by the .NET Compact Framework.

Converts this SqlByte structure to SqlSingle.
public methodToSqlString

Supported by the .NET Compact Framework.

Converts this instance of SqlByte to SqlString.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts this SqlByte structure to a String.
public methodstatic (Shared in Visual Basic)Xor

Supported by the .NET Compact Framework.

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

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Addition Operator

Supported by the .NET Compact Framework.

Computes the sum of the two specified SqlByte structures.
public operatorstatic (Shared in Visual Basic)Bitwise And Operator

Supported by the .NET Compact Framework.

Computes the bitwise AND of its SqlByte operands.
public operatorstatic (Shared in Visual Basic)Bitwise Or Operator

Supported by the .NET Compact Framework.

Computes the bitwise OR of its two SqlByte operands.
public operatorstatic (Shared in Visual Basic)Division Operator

Supported by the .NET Compact Framework.

Divides its first SqlByte operand by its second.
public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of two SqlByte structures to determine if they are equal.
public operatorstatic (Shared in Visual Basic)Exclusive Or Operator

Supported by the .NET Compact Framework.

Performs a bitwise exclusive-OR operation on the supplied parameters.
public operatorstatic (Shared in Visual Basic)Greater Than Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is greater than the second.
public operatorstatic (Shared in Visual Basic)Greater Than Or Equal Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is greater than or equal to the second.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if they are not equal.
public operatorstatic (Shared in Visual Basic)Less Than Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is less than the second.
public operatorstatic (Shared in Visual Basic)Less Than Or Equal Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlByte to determine if the first is less than or equal to the second.
public operatorstatic (Shared in Visual Basic)Modulus Operator

Supported by the .NET Compact Framework.

Computes the remainder after dividing its first SqlByte operand by its second.
public operatorstatic (Shared in Visual Basic)Multiplication Operator

Supported by the .NET Compact Framework.

Computes the product of the two SqlByte operands.
public operatorstatic (Shared in Visual Basic)Ones Complement Operator

Supported by the .NET Compact Framework.

The ones complement operator performs a bitwise one's complement operation on its SqlByte operand.
public operatorstatic (Shared in Visual Basic)Subtraction Operator

Supported by the .NET Compact Framework.

Subtracts the second SqlByte operand from the first.
public operatorstatic (Shared in Visual Basic)SqlBoolean to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the SqlBoolean parameter to a SqlByte.
public operatorstatic (Shared in Visual Basic)SqlByte to Byte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlByte structure to a byte.
public operatorstatic (Shared in Visual Basic)SqlDecimal to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlDecimal to SqlByte.
public operatorstatic (Shared in Visual Basic)SqlDouble to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlDouble to SqlByte.
public operatorstatic (Shared in Visual Basic)SqlInt16 to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the SqlInt16 parameter to a SqlByte.
public operatorstatic (Shared in Visual Basic)SqlInt32 to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlInt32 to SqlByte.
public operatorstatic (Shared in Visual Basic)SqlInt64 to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlInt64 to SqlByte.
public operatorstatic (Shared in Visual Basic)SqlMoney to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the SqlMoney parameter to a SqlByte.
public operatorstatic (Shared in Visual Basic)SqlSingle to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlSingle structure to SqlByte.
public operatorstatic (Shared in Visual Basic)SqlString to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlString to SqlByte.
public operatorstatic (Shared in Visual Basic)Byte to SqlByte Conversion

Supported by the .NET Compact Framework.

Converts the supplied byte value to a SqlByte.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlByte Structure | System.Data.SqlTypes Namespace

Show: