SqlInt16 Structure

 

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)

[SerializableAttribute]
public struct SqlInt16 : INullable, IComparable, IXmlSerializable

NameDescription
System_CAPS_pubmethodSqlInt16(Int16)

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

NameDescription
System_CAPS_pubpropertyIsNull

Indicates whether this SqlInt16 structure is null.

System_CAPS_pubpropertyValue

Gets the value of this instance of SqlInt16 structure. This property is read-only.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(SqlInt16, SqlInt16)

Computes the sum of the two SqlInt16 operands.

System_CAPS_pubmethodSystem_CAPS_staticBitwiseAnd(SqlInt16, SqlInt16)

Computes the bitwise AND of its SqlInt16 operands.

System_CAPS_pubmethodSystem_CAPS_staticBitwiseOr(SqlInt16, SqlInt16)

Computes the bitwise OR of its two SqlInt16 operands.

System_CAPS_pubmethodCompareTo(Object)

Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values.

System_CAPS_pubmethodCompareTo(SqlInt16)

Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.

System_CAPS_pubmethodSystem_CAPS_staticDivide(SqlInt16, SqlInt16)

Divides the first SqlInt16 operand by the second.

System_CAPS_pubmethodEquals(Object)

Compares the specified object to the Value property of the SqlInt16 object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetXsdType(XmlSchemaSet)

Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(SqlInt16, SqlInt16)

Compares two instances of SqlInt16 to determine whether the first is greater than the second.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(SqlInt16, SqlInt16)

Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(SqlInt16, SqlInt16)

Compares two instances of SqlInt16 to determine whether the first is less than the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(SqlInt16, SqlInt16)

Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticMod(SqlInt16, SqlInt16)

Computes the remainder after dividing its first SqlInt16 operand by its second.

System_CAPS_pubmethodSystem_CAPS_staticModulus(SqlInt16, SqlInt16)

Divides two SqlInt16 values and returns the remainder.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(SqlInt16, SqlInt16)

Computes the product of the two SqlInt16 parameters.

System_CAPS_pubmethodSystem_CAPS_staticNotEquals(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal.

System_CAPS_pubmethodSystem_CAPS_staticOnesComplement(SqlInt16)

The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts the String representation of a number to its 16-bit signed integer equivalent.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(SqlInt16, SqlInt16)

Subtracts the second SqlInt16 parameter from the first.

System_CAPS_pubmethodToSqlBoolean()

Converts this SqlInt16 structure to SqlBoolean.

System_CAPS_pubmethodToSqlByte()

Converts this SqlInt16 structure to SqlByte.

System_CAPS_pubmethodToSqlDecimal()

Converts this SqlInt16 structure to SqlDecimal.

System_CAPS_pubmethodToSqlDouble()

Converts this SqlInt16 structure to SqlDouble.

System_CAPS_pubmethodToSqlInt32()

Converts this SqlInt16 structure to SqlInt32.

System_CAPS_pubmethodToSqlInt64()

Converts this SqlInt16 structure to SqlInt64.

System_CAPS_pubmethodToSqlMoney()

Converts this SqlInt16 structure to SqlMoney.

System_CAPS_pubmethodToSqlSingle()

Converts this SqlInt16 structure to SqlSingle.

System_CAPS_pubmethodToSqlString()

Converts this SqlInt16 structure to SqlString.

System_CAPS_pubmethodToString()

Converts a SqlInt16 structure to String.(Overrides ValueType.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticXor(SqlInt16, SqlInt16)

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

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMaxValue

A constant representing the largest possible value of a SqlInt16.

System_CAPS_pubfieldSystem_CAPS_staticMinValue

A constant representing the smallest possible value of a SqlInt16.

System_CAPS_pubfieldSystem_CAPS_staticNull

Represents a DBNull that can be assigned to this instance of the SqlInt16 structure.

System_CAPS_pubfieldSystem_CAPS_staticZero

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(SqlInt16, SqlInt16)

Computes the sum of the two SqlInt16 operands.

System_CAPS_puboperatorSystem_CAPS_staticBitwiseAnd(SqlInt16, SqlInt16)

Computes the bitwise AND of its SqlInt16 operands.

System_CAPS_puboperatorSystem_CAPS_staticBitwiseOr(SqlInt16, SqlInt16)

Computes the bitwise OR of its two SqlInt16 operands.

System_CAPS_puboperatorSystem_CAPS_staticDivision(SqlInt16, SqlInt16)

Divides the first SqlInt16 operand by the second.

System_CAPS_puboperatorSystem_CAPS_staticEquality(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticExclusiveOr(SqlInt16, SqlInt16)

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

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlBoolean to SqlInt16)

Converts the supplied SqlBoolean structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlDecimal to SqlInt16)

Converts the supplied SqlDecimal structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlDouble to SqlInt16)

Converts the supplied SqlDouble structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlInt16 to Int16)

Converts the supplied SqlInt16 structure to a short integer.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlInt32 to SqlInt16)

Converts the supplied SqlInt32 structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlInt64 to SqlInt16)

Converts the supplied SqlInt64 structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlMoney to SqlInt16)

Converts the supplied SqlMoney structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlSingle to SqlInt16)

Converts the supplied SqlSingle structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlString to SqlInt16)

Converts the supplied SqlString object to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(SqlInt16, SqlInt16)

Compares two instances of SqlInt16 to determine whether the first is greater than the second.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(SqlInt16, SqlInt16)

Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Int16 to SqlInt16)

Converts the supplied short integer to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(SqlByte to SqlInt16)

Converts the supplied SqlByte structure to SqlInt16.

System_CAPS_puboperatorSystem_CAPS_staticInequality(SqlInt16, SqlInt16)

Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(SqlInt16, SqlInt16)

Compares two instances of SqlInt16 to determine whether the first is less than the second.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(SqlInt16, SqlInt16)

Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticModulus(SqlInt16, SqlInt16)

Computes the remainder after dividing its first SqlInt16 operand by its second.

System_CAPS_puboperatorSystem_CAPS_staticMultiply(SqlInt16, SqlInt16)

Computes the product of the two SqlInt16 parameters.

System_CAPS_puboperatorSystem_CAPS_staticOnesComplement(SqlInt16)

The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(SqlInt16, SqlInt16)

Subtracts the second SqlInt16 parameter from the first.

System_CAPS_puboperatorSystem_CAPS_staticUnaryNegation(SqlInt16)

The unary minus operator negates the Value of the SqlInt16 operand.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.GetSchema()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.ReadXml(XmlReader)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.WriteXml(XmlWriter)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: