This documentation is archived and is not being maintained.

SqlInt16 Methods

The methods of the SqlInt16 structure are listed here. For a complete list of SqlInt16 structure members, see the SqlInt16 Members topic.

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.

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

Show: