SqlInt16 Structure
.NET Framework 4.5
Represents a 16-bit signed integer to be stored in or retrieved from a database.
Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
The SqlInt16 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Add | Computes the sum of the two SqlInt16 operands. |
![]() ![]() ![]() | BitwiseAnd | Computes the bitwise AND of its SqlInt16 operands. |
![]() ![]() ![]() | BitwiseOr | Computes the bitwise OR of its two SqlInt16 operands. |
![]() ![]() | CompareTo(Object) | Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values. |
![]() ![]() | CompareTo(SqlInt16) | Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values. |
![]() ![]() ![]() | Divide | Divides the first SqlInt16 operand by the second. |
![]() ![]() | Equals(Object) | Compares the specified object to the Value property of the SqlInt16 object. (Overrides ValueType.Equals(Object).) |
![]() ![]() ![]() | Equals(SqlInt16, SqlInt16) | Performs a logical comparison of two SqlInt16 structures to determine whether they are equal. |
![]() ![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetXsdType | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
![]() ![]() ![]() | GreaterThan | Compares two instances of SqlInt16 to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | LessThan | Compares two instances of SqlInt16 to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two SqlInt16 structures to determine whether the first is less than or equal to the second. |
![]() ![]() ![]() | Mod | Computes the remainder after dividing its first SqlInt16 operand by its second. |
![]() ![]() ![]() | Modulus | Divides two SqlInt16 values and returns the remainder. |
![]() ![]() ![]() | Multiply | Computes the product of the two SqlInt16 parameters. |
![]() ![]() ![]() | NotEquals | Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal. |
![]() ![]() ![]() | OnesComplement | The ~ operator performs a bitwise one's complement operation on its SqlByte operand. |
![]() ![]() ![]() | Parse | Converts the String representation of a number to its 16-bit signed integer equivalent. |
![]() ![]() ![]() | Subtract | Subtracts the second SqlInt16 parameter from the first. |
![]() ![]() | ToSqlBoolean | Converts this SqlInt16 structure to SqlBoolean. |
![]() ![]() | ToSqlByte | Converts this SqlInt16 structure to SqlByte. |
![]() ![]() | ToSqlDecimal | Converts this SqlInt16 structure to SqlDecimal. |
![]() ![]() | ToSqlDouble | Converts this SqlInt16 structure to SqlDouble. |
![]() ![]() | ToSqlInt32 | Converts this SqlInt16 structure to SqlInt32. |
![]() ![]() | ToSqlInt64 | Converts this SqlInt16 structure to SqlInt64. |
![]() ![]() | ToSqlMoney | Converts this SqlInt16 structure to SqlMoney. |
![]() ![]() | ToSqlSingle | Converts this SqlInt16 structure to SqlSingle. |
![]() ![]() | ToSqlString | Converts this SqlInt16 structure to SqlString. |
![]() ![]() | ToString | Converts a SqlInt16 structure to String. (Overrides ValueType.ToString().) |
![]() ![]() ![]() | Xor | Performs a bitwise exclusive-OR operation on the supplied parameters. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Addition | Computes the sum of the two SqlInt16 operands. |
![]() ![]() ![]() | BitwiseAnd | Computes the bitwise AND of its SqlInt16 operands. |
![]() ![]() ![]() | BitwiseOr | Computes the bitwise OR of its two SqlInt16 operands. |
![]() ![]() ![]() | Division | Divides the first SqlInt16 operand by the second. |
![]() ![]() ![]() | Equality | Performs a logical comparison of two SqlInt16 structures to determine whether they are equal. |
![]() ![]() ![]() | ExclusiveOr | Performs a bitwise exclusive-OR operation on the supplied parameters. |
![]() ![]() ![]() | Explicit(SqlBoolean to SqlInt16) | Converts the supplied SqlBoolean structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlDecimal to SqlInt16) | Converts the supplied SqlDecimal structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlDouble to SqlInt16) | Converts the supplied SqlDouble structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlInt16 to Int16) | Converts the supplied SqlInt16 structure to a short integer. |
![]() ![]() ![]() | Explicit(SqlInt32 to SqlInt16) | Converts the supplied SqlInt32 structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlInt64 to SqlInt16) | Converts the supplied SqlInt64 structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlMoney to SqlInt16) | Converts the supplied SqlMoney structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlSingle to SqlInt16) | Converts the supplied SqlSingle structure to SqlInt16. |
![]() ![]() ![]() | Explicit(SqlString to SqlInt16) | Converts the supplied SqlString object to SqlInt16. |
![]() ![]() ![]() | GreaterThan | Compares two instances of SqlInt16 to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | Implicit(Int16 to SqlInt16) | Converts the supplied short integer to SqlInt16. |
![]() ![]() ![]() | Implicit(SqlByte to SqlInt16) | Converts the supplied SqlByte structure to SqlInt16. |
![]() ![]() ![]() | Inequality | Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal. |
![]() ![]() ![]() | LessThan | Compares two instances of SqlInt16 to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two SqlInt16 structures to determine whether the first is less than or equal to the second. |
![]() ![]() ![]() | Modulus | Computes the remainder after dividing its first SqlInt16 operand by its second. |
![]() ![]() ![]() | Multiply | Computes the product of the two SqlInt16 parameters. |
![]() ![]() ![]() | OnesComplement | The ~ operator performs a bitwise one's complement operation on its SqlByte operand. |
![]() ![]() ![]() | Subtraction | Subtracts the second SqlInt16 parameter from the first. |
![]() ![]() ![]() | UnaryNegation | The unary minus operator negates the Value of the SqlInt16 operand. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | MaxValue | A constant representing the largest possible value of a SqlInt16. |
![]() ![]() ![]() | MinValue | A constant representing the smallest possible value of a SqlInt16. |
![]() ![]() ![]() | Null | Represents a DBNull that can be assigned to this instance of the SqlInt16 structure. |
![]() ![]() ![]() | Zero | Represents a zero value that can be assigned to the Value property of an instance of the SqlInt16 structure. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | IXmlSerializable.GetSchema | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable.ReadXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable.WriteXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
