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

SqlInt32 Structure

Represents a 32-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 SqlInt32 : INullable, IComparable, 
	IXmlSerializable

The SqlInt32 type exposes the following members.

  NameDescription
Public methodSupported by the XNA FrameworkSqlInt32Initializes a new instance of the SqlInt32 structure using the supplied integer value.
Top
  NameDescription
Public propertySupported by the XNA FrameworkIsNullIndicates whether this SqlInt32 structure is null.
Public propertySupported by the XNA FrameworkValueGets the value of this SqlInt32 structure. This property is read-only.
Top
  NameDescription
Public methodStatic memberSupported by the XNA FrameworkAddComputes the sum of the two specified SqlInt32 structures.
Public methodStatic memberSupported by the XNA FrameworkBitwiseAndComputes the bitwise AND of its SqlInt32 operands.
Public methodStatic memberSupported by the XNA FrameworkBitwiseOrComputes the bitwise OR of the specified SqlInt32 structures.
Public methodSupported by the XNA FrameworkCompareTo(Object)Compares this SqlInt32 instance to the supplied Object and returns an indication of their relative values.
Public methodSupported by the XNA FrameworkCompareTo(SqlInt32)Compares this SqlInt32 instance to the supplied SqlInt32 and returns an indication of their relative values.
Public methodStatic memberSupported by the XNA FrameworkDivideDivides the first SqlInt32 parameter from the second.
Public methodSupported by the XNA FrameworkEquals(Object)Compares the supplied object parameter to the Value property of the SqlInt32 object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the XNA FrameworkEquals(SqlInt32, SqlInt32)Performs a logical comparison of the two SqlInt32 parameters 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 the two SqlInt32 parameters to determine whether the first is greater than the second.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanCompares the two SqlInt32 parameters to determine whether the first is less than the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares the two SqlInt32 parameters to determine whether the first is less than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkModComputes the remainder after dividing the first SqlInt32 parameter by the second.
Public methodStatic memberSupported by the XNA FrameworkModulusDivides two SqlInt32 values and returns the remainder.
Public methodStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two SqlInt32 parameters.
Public methodStatic memberSupported by the XNA FrameworkNotEqualsPerforms a logical comparison of the two SqlInt32 parameters to determine whether they are not equal.
Public methodStatic memberSupported by the XNA FrameworkOnesComplementPerforms a bitwise one's complement operation on the specified SqlInt32 structure.
Public methodStatic memberSupported by the XNA FrameworkParseConverts the String representation of a number to its 32-bit signed integer equivalent.
Public methodStatic memberSupported by the XNA FrameworkSubtractSubtracts the second SqlInt32 parameter from the first.
Public methodSupported by the XNA FrameworkToSqlBooleanConverts this SqlInt32 structure to SqlBoolean.
Public methodSupported by the XNA FrameworkToSqlByteConverts this SqlInt32 structure to SqlByte.
Public methodSupported by the XNA FrameworkToSqlDecimalConverts this SqlInt32 structure to SqlDecimal.
Public methodSupported by the XNA FrameworkToSqlDoubleConverts this SqlInt32 structure to SqlDouble.
Public methodSupported by the XNA FrameworkToSqlInt16Converts this SqlInt32 structure to SqlInt16.
Public methodSupported by the XNA FrameworkToSqlInt64Converts this SqlInt32 structure to SqlInt64.
Public methodSupported by the XNA FrameworkToSqlMoneyConverts this SqlInt32 structure to SqlMoney.
Public methodSupported by the XNA FrameworkToSqlSingleConverts this SqlInt32 structure to SqlSingle.
Public methodSupported by the XNA FrameworkToSqlStringConverts this SqlInt32 structure to SqlString.
Public methodSupported by the XNA FrameworkToStringConverts a SqlInt32 structure to a String. (Overrides ValueType.ToString().)
Public methodStatic memberSupported by the XNA FrameworkXorPerforms a bitwise exclusive-OR operation on the specified SqlInt32 structures.
Top
  NameDescription
Public operatorStatic memberSupported by the XNA FrameworkAdditionComputes the sum of the two specified SqlInt32 structures.
Public operatorStatic memberSupported by the XNA FrameworkBitwiseAndComputes the bitwise AND of its SqlInt32 operands.
Public operatorStatic memberSupported by the XNA FrameworkBitwiseOrComputes the bitwise OR of the specified SqlInt32 structures.
Public operatorStatic memberSupported by the XNA FrameworkDivisionDivides the first SqlInt32 parameter from the second.
Public operatorStatic memberSupported by the XNA FrameworkEqualityPerforms a logical comparison of the two SqlInt32 parameters to determine whether they are equal.
Public operatorStatic memberSupported by the XNA FrameworkExclusiveOrPerforms a bitwise exclusive-OR operation on the specified SqlInt32 structures.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlBoolean to SqlInt32)Converts the supplied SqlBoolean to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlDecimal to SqlInt32)Converts the supplied SqlDecimal structure to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlDouble to SqlInt32)Converts the supplied SqlDouble to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlInt32 to Int32)Converts the supplied SqlInt32 structure to an integer.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlInt64 to SqlInt32)Converts the supplied SqlInt64 to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlMoney to SqlInt32)Converts the supplied SqlMoney structure to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlSingle to SqlInt32)Converts the supplied SqlSingle to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlString to SqlInt32)Converts the supplied SqlString object to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanCompares the two SqlInt32 parameters to determine whether the first is greater than the second.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(Int32 to SqlInt32)Converts the supplied integer to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlByte to SqlInt32)Converts the supplied SqlByte property to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlInt16 to SqlInt32)Converts the supplied SqlInt16 to SqlInt32.
Public operatorStatic memberSupported by the XNA FrameworkInequalityPerforma a logical comparison of the two SqlInt32 parameters to determine whether they are not equal.
Public operatorStatic memberSupported by the XNA FrameworkLessThanCompares the two SqlInt32 parameters to determine whether the first is less than the second.
Public operatorStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares the two SqlInt32 parameters to determine whether the first is less than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkModulusComputes the remainder after dividing the first SqlInt32 parameter by the second.
Public operatorStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two SqlInt32 parameters.
Public operatorStatic memberSupported by the XNA FrameworkOnesComplementPerforms a bitwise one's complement operation on the specified SqlInt32 structure.
Public operatorStatic memberSupported by the XNA FrameworkSubtractionSubtracts the second SqlInt32 parameter from the first.
Public operatorStatic memberSupported by the XNA FrameworkUnaryNegationNegates the Value of the SqlInt32 operand.
Top
  NameDescription
Public fieldStatic memberSupported by the XNA FrameworkMaxValueA constant representing the largest possible value of a SqlInt32.
Public fieldStatic memberSupported by the XNA FrameworkMinValueA constant representing the smallest possible value of a SqlInt32.
Public fieldStatic memberSupported by the XNA FrameworkNullRepresents a DBNull that can be assigned to this instance of the SqlInt32 class.
Public fieldStatic memberSupported by the XNA FrameworkZeroRepresents a zero value that can be assigned to the Value property of an instance of the SqlInt32 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.