Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

The SqlInt16 type exposes the following members.

  NameDescription
Public methodSupported by the XNA FrameworkSqlInt16Initializes a new instance of the SqlInt16 structure using the supplied short integer parameter.
Top
  NameDescription
Public propertySupported by the XNA FrameworkIsNullIndicates whether this SqlInt16 structure is null.
Public propertySupported by the XNA FrameworkValueGets the value of this instance of SqlInt16 structure. This property is read-only.
Top
  NameDescription
Public methodStatic memberSupported by the XNA FrameworkAddComputes the sum of the two SqlInt16 operands.
Public methodStatic memberSupported by the XNA FrameworkBitwiseAndComputes the bitwise AND of its SqlInt16 operands.
Public methodStatic memberSupported by the XNA FrameworkBitwiseOrComputes the bitwise OR of its two SqlInt16 operands.
Public methodSupported by the XNA FrameworkCompareTo(Object)Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values.
Public methodSupported by the XNA FrameworkCompareTo(SqlInt16)Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.
Public methodStatic memberSupported by the XNA FrameworkDivideDivides the first SqlInt16 operand by the second.
Public methodSupported by the XNA FrameworkEquals(Object)Compares the specified object to the Value property of the SqlInt16 object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the XNA FrameworkEquals(SqlInt16, SqlInt16)Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.
Public methodSupported by the XNA FrameworkGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the XNA FrameworkGetXsdTypeReturns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanCompares two instances of SqlInt16 to determine whether the first is greater than the second.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares two SqlInt16 structures to determine whether the first is greater than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanCompares two instances of SqlInt16 to determine whether the first is less than the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares two SqlInt16 structures to determine whether the first is less than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkModComputes the remainder after dividing its first SqlInt16 operand by its second.
Public methodStatic memberSupported by the XNA FrameworkModulusDivides two SqlInt16 values and returns the remainder.
Public methodStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two SqlInt16 parameters.
Public methodStatic memberSupported by the XNA FrameworkNotEqualsPerforms a logical comparison of two SqlInt16 structures to determine whether they are not equal.
Public methodStatic memberSupported by the XNA FrameworkOnesComplementThe ~ operator performs a bitwise one's complement operation on its SqlByte operand.
Public methodStatic memberSupported by the XNA FrameworkParseConverts the String representation of a number to its 16-bit signed integer equivalent.
Public methodStatic memberSupported by the XNA FrameworkSubtractSubtracts the second SqlInt16 parameter from the first.
Public methodSupported by the XNA FrameworkToSqlBooleanConverts this SqlInt16 structure to SqlBoolean.
Public methodSupported by the XNA FrameworkToSqlByteConverts this SqlInt16 structure to SqlByte.
Public methodSupported by the XNA FrameworkToSqlDecimalConverts this SqlInt16 structure to SqlDecimal.
Public methodSupported by the XNA FrameworkToSqlDoubleConverts this SqlInt16 structure to SqlDouble.
Public methodSupported by the XNA FrameworkToSqlInt32Converts this SqlInt16 structure to SqlInt32.
Public methodSupported by the XNA FrameworkToSqlInt64Converts this SqlInt16 structure to SqlInt64.
Public methodSupported by the XNA FrameworkToSqlMoneyConverts this SqlInt16 structure to SqlMoney.
Public methodSupported by the XNA FrameworkToSqlSingleConverts this SqlInt16 structure to SqlSingle.
Public methodSupported by the XNA FrameworkToSqlStringConverts this SqlInt16 structure to SqlString.
Public methodSupported by the XNA FrameworkToStringConverts a SqlInt16 structure to String. (Overrides ValueType.ToString().)
Public methodStatic memberSupported by the XNA FrameworkXorPerforms a bitwise exclusive-OR operation on the supplied parameters.
Top
  NameDescription
Public operatorStatic memberSupported by the XNA FrameworkAdditionComputes the sum of the two SqlInt16 operands.
Public operatorStatic memberSupported by the XNA FrameworkBitwiseAndComputes the bitwise AND of its SqlInt16 operands.
Public operatorStatic memberSupported by the XNA FrameworkBitwiseOrComputes the bitwise OR of its two SqlInt16 operands.
Public operatorStatic memberSupported by the XNA FrameworkDivisionDivides the first SqlInt16 operand by the second.
Public operatorStatic memberSupported by the XNA FrameworkEqualityPerforms a logical comparison of two SqlInt16 structures to determine whether they are equal.
Public operatorStatic memberSupported by the XNA FrameworkExclusiveOrPerforms a bitwise exclusive-OR operation on the supplied parameters.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlBoolean to SqlInt16)Converts the supplied SqlBoolean structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlDecimal to SqlInt16)Converts the supplied SqlDecimal structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlDouble to SqlInt16)Converts the supplied SqlDouble structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlInt16 to Int16)Converts the supplied SqlInt16 structure to a short integer.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlInt32 to SqlInt16)Converts the supplied SqlInt32 structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlInt64 to SqlInt16)Converts the supplied SqlInt64 structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlMoney to SqlInt16)Converts the supplied SqlMoney structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlSingle to SqlInt16)Converts the supplied SqlSingle structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlString to SqlInt16)Converts the supplied SqlString object to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanCompares two instances of SqlInt16 to determine whether the first is greater than the second.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares two SqlInt16 structures to determine whether the first is greater than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(Int16 to SqlInt16)Converts the supplied short integer to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlByte to SqlInt16)Converts the supplied SqlByte structure to SqlInt16.
Public operatorStatic memberSupported by the XNA FrameworkInequalityPerforms a logical comparison of two SqlInt16 structures to determine whether they are not equal.
Public operatorStatic memberSupported by the XNA FrameworkLessThanCompares two instances of SqlInt16 to determine whether the first is less than the second.
Public operatorStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares two SqlInt16 structures to determine whether the first is less than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkModulusComputes the remainder after dividing its first SqlInt16 operand by its second.
Public operatorStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two SqlInt16 parameters.
Public operatorStatic memberSupported by the XNA FrameworkOnesComplementThe ~ operator performs a bitwise one's complement operation on its SqlByte operand.
Public operatorStatic memberSupported by the XNA FrameworkSubtractionSubtracts the second SqlInt16 parameter from the first.
Public operatorStatic memberSupported by the XNA FrameworkUnaryNegationThe unary minus operator negates the Value of the SqlInt16 operand.
Top
  NameDescription
Public fieldStatic memberSupported by the XNA FrameworkMaxValueA constant representing the largest possible value of a SqlInt16.
Public fieldStatic memberSupported by the XNA FrameworkMinValueA constant representing the smallest possible value of a SqlInt16.
Public fieldStatic memberSupported by the XNA FrameworkNullRepresents a DBNull that can be assigned to this instance of the SqlInt16 structure.
Public fieldStatic memberSupported by the XNA FrameworkZeroRepresents a zero value that can be assigned to the Value property of an instance of the SqlInt16 structure.
Top
  NameDescription
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.GetSchemaThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.ReadXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.WriteXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.