.NET Framework Class Library  

SqlInt16 Members

SqlInt16 overview

Public Constructors

public constructorSqlInt16 Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the SqlInt16 structure using the supplied short integer parameter.

Public Fields

public fieldstatic (Shared in Visual Basic)MaxValue

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

A constant representing the smallest possible value of a SqlInt16.
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 SqlInt16 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 SqlInt16 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 this instance of SqlInt16 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 SqlInt16 operands.
public methodstatic (Shared in Visual Basic)BitwiseAnd

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Computes the bitwise OR of its two SqlInt16 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 the first SqlInt16 operand by the second.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded.
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 SqlInt16 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 SqlInt16 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 SqlInt16 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 SqlInt16 structures 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 SqlInt16 operand by its second.
public methodstatic (Shared in Visual Basic)Multiply

Supported by the .NET Compact Framework.

Computes the product of the two SqlInt16 parameters.
public methodstatic (Shared in Visual Basic)NotEquals

Supported by the .NET Compact Framework.

Performs a logical comparison of two SqlInt16 structures to determine if they are not equal.
public methodstatic (Shared in Visual Basic)OnesComplement

Supported by the .NET Compact Framework.

The ~ 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 16-bit signed integer equivalent.
public methodstatic (Shared in Visual Basic)Subtract

Supported by the .NET Compact Framework.

Subtracts the second SqlInt16 parameter from the first.
public methodToSqlBoolean

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlBoolean.
public methodToSqlByte

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlByte.
public methodToSqlDecimal

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlDecimal.
public methodToSqlDouble

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlDouble.
public methodToSqlInt32

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlInt32.
public methodToSqlInt64

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlInt64.
public methodToSqlMoney

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlMoney.
public methodToSqlSingle

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlSingle.
public methodToSqlString

Supported by the .NET Compact Framework.

Converts this SqlInt16 structure to SqlString.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts a SqlInt16 structure to 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 SqlInt16 operands.
public operatorstatic (Shared in Visual Basic)Bitwise And Operator

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Performs a logical comparison of two SqlInt16 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 SqlInt16 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 SqlInt16 structures 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.

Performs a logical comparison of two SqlInt16 structures 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 SqlInt16 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 SqlInt16 structures 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 SqlInt16 operand by its second.
public operatorstatic (Shared in Visual Basic)Multiplication Operator

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

The ~ 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 SqlInt16 parameter from the first.
public operatorstatic (Shared in Visual Basic)Unary Negation Operator

Supported by the .NET Compact Framework.

The unary minus operator negates the Value of the SqlInt16 operand.
public operatorstatic (Shared in Visual Basic)SqlBoolean to SqlInt16 Conversion

Supported by the .NET Compact Framework.

Converts the supplied SqlBoolean structure to SqlInt16.
public operatorstatic (Shared in Visual Basic)SqlDecimal to SqlInt16 Conversion

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Converts the supplied SqlInt16 structure to a short integer.
public operatorstatic (Shared in Visual Basic)SqlInt32 to SqlInt16 Conversion

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Converts the supplied SqlString object to SqlInt16.
public operatorstatic (Shared in Visual Basic)Int16 to SqlInt16 Conversion

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Converts the supplied SqlByte structure to SqlInt16.

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

SqlInt16 Structure | System.Data.SqlTypes Namespace