Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SqlInt32 Struct
Definition
- Namespace:
- System.Data.SqlTypes
- Assemblies:
- netstandard.dll, System.Data.Common.dll
- Assembly:
- System.Data.SqlClient.dll
- Assembly:
- System.Data.Common.dll
- Assembly:
- System.Data.dll
- Assembly:
- netstandard.dll
- Source:
- SQLInt32.cs
- Source:
- SQLInt32.cs
- Source:
- SQLInt32.cs
- Source:
- SQLInt32.cs
- Source:
- SQLInt32.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a 32-bit signed integer to be stored in or retrieved from a database.
public value class SqlInt32 : IComparable, IEquatable<System::Data::SqlTypes::SqlInt32>, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlInt32 : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlInt32 : IComparable, System::Data::SqlTypes::INullable
public struct SqlInt32 : IComparable, IEquatable<System.Data.SqlTypes.SqlInt32>, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlInt32 : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlInt32 : IComparable, System.Data.SqlTypes.INullable
[System.Serializable]
public struct SqlInt32 : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlInt32 = struct
interface INullable
interface IXmlSerializable
type SqlInt32 = struct
interface INullable
[<System.Serializable>]
type SqlInt32 = struct
interface INullable
interface IXmlSerializable
Public Structure SqlInt32
Implements IComparable, IEquatable(Of SqlInt32), INullable, IXmlSerializable
Public Structure SqlInt32
Implements IComparable, INullable, IXmlSerializable
Public Structure SqlInt32
Implements IComparable, INullable
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| SqlInt32(Int32) |
Initializes a new instance of the SqlInt32 structure using the supplied integer value. |
Fields
| Name | Description |
|---|---|
| MaxValue |
A constant representing the largest possible value of a SqlInt32. |
| MinValue |
A constant representing the smallest possible value of a SqlInt32. |
| Null |
Represents a DBNull that can be assigned to this instance of the SqlInt32 class. |
| Zero |
Represents a zero value that can be assigned to the Value property of an instance of the SqlInt32 structure. |
Properties
| Name | Description |
|---|---|
| IsNull |
Indicates whether this SqlInt32 structure is null. |
| Value |
Gets the value of this SqlInt32 structure. This property is read-only. |
Methods
| Name | Description |
|---|---|
| Add(SqlInt32, SqlInt32) |
Computes the sum of the two specified SqlInt32 structures. |
| BitwiseAnd(SqlInt32, SqlInt32) |
Computes the bitwise AND of its SqlInt32 operands. |
| BitwiseOr(SqlInt32, SqlInt32) |
Computes the bitwise OR of the specified SqlInt32 structures. |
| CompareTo(Object) |
Compares this SqlInt32 instance to the supplied Object and returns an indication of their relative values. |
| CompareTo(SqlInt32) |
Compares this SqlInt32 instance to the supplied SqlInt32 and returns an indication of their relative values. |
| Divide(SqlInt32, SqlInt32) |
Divides the first SqlInt32 parameter from the second. |
| Equals(Object) |
Compares the supplied object parameter to the Value property of the SqlInt32 object. |
| Equals(SqlInt32, SqlInt32) |
Performs a logical comparison of the two SqlInt32 parameters to determine whether they are equal. |
| Equals(SqlInt32) |
Indicates whether the current instance is equal to another instance of the same type. |
| GetHashCode() |
Returns the hash code for this instance. |
| GetXsdType(XmlSchemaSet) |
Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
| GreaterThan(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is greater than the second. |
| GreaterThanOrEqual(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second. |
| LessThan(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is less than the second. |
| LessThanOrEqual(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is less than or equal to the second. |
| Mod(SqlInt32, SqlInt32) |
Computes the remainder after dividing the first SqlInt32 parameter by the second. |
| Modulus(SqlInt32, SqlInt32) |
Divides two SqlInt32 values and returns the remainder. |
| Multiply(SqlInt32, SqlInt32) |
Computes the product of the two SqlInt32 parameters. |
| NotEquals(SqlInt32, SqlInt32) |
Performs a logical comparison of the two SqlInt32 parameters to determine whether they are not equal. |
| OnesComplement(SqlInt32) |
Performs a bitwise one's complement operation on the specified SqlInt32 structure. |
| Parse(String) |
Converts the String representation of a number to its 32-bit signed integer equivalent. |
| Subtract(SqlInt32, SqlInt32) |
Subtracts the second SqlInt32 parameter from the first. |
| ToSqlBoolean() |
Converts this SqlInt32 structure to SqlBoolean. |
| ToSqlByte() | |
| ToSqlDecimal() |
Converts this SqlInt32 structure to SqlDecimal. |
| ToSqlDouble() | |
| ToSqlInt16() | |
| ToSqlInt64() | |
| ToSqlMoney() | |
| ToSqlSingle() | |
| ToSqlString() | |
| ToString() | |
| Xor(SqlInt32, SqlInt32) |
Performs a bitwise exclusive-OR operation on the specified SqlInt32 structures. |
Operators
| Name | Description |
|---|---|
| Addition(SqlInt32, SqlInt32) |
Computes the sum of the two specified SqlInt32 structures. |
| BitwiseAnd(SqlInt32, SqlInt32) |
Computes the bitwise AND of its SqlInt32 operands. |
| BitwiseOr(SqlInt32, SqlInt32) |
Computes the bitwise OR of the specified SqlInt32 structures. |
| Division(SqlInt32, SqlInt32) |
Divides the first SqlInt32 parameter from the second. |
| Equality(SqlInt32, SqlInt32) |
Performs a logical comparison of the two SqlInt32 parameters to determine whether they are equal. |
| ExclusiveOr(SqlInt32, SqlInt32) |
Performs a bitwise exclusive-OR operation on the specified SqlInt32 structures. |
| Explicit(SqlBoolean to SqlInt32) |
Converts the supplied SqlBoolean to SqlInt32. |
| Explicit(SqlDecimal to SqlInt32) |
Converts the supplied SqlDecimal structure to SqlInt32. |
| Explicit(SqlDouble to SqlInt32) | |
| Explicit(SqlInt32 to Int32) |
Converts the supplied SqlInt32 structure to an integer. |
| Explicit(SqlInt64 to SqlInt32) | |
| Explicit(SqlMoney to SqlInt32) | |
| Explicit(SqlSingle to SqlInt32) | |
| Explicit(SqlString to SqlInt32) | |
| GreaterThan(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is greater than the second. |
| GreaterThanOrEqual(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second. |
| Implicit(Int32 to SqlInt32) |
Converts the supplied integer to SqlInt32. |
| Implicit(SqlByte to SqlInt32) | |
| Implicit(SqlInt16 to SqlInt32) | |
| Inequality(SqlInt32, SqlInt32) |
Performs a logical comparison of the two SqlInt32 parameters to determine whether they are not equal. |
| LessThan(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is less than the second. |
| LessThanOrEqual(SqlInt32, SqlInt32) |
Compares the two SqlInt32 parameters to determine whether the first is less than or equal to the second. |
| Modulus(SqlInt32, SqlInt32) |
Computes the remainder after dividing the first SqlInt32 parameter by the second. |
| Multiply(SqlInt32, SqlInt32) |
Computes the product of the two SqlInt32 parameters. |
| OnesComplement(SqlInt32) |
Performs a bitwise one's complement operation on the specified SqlInt32 structure. |
| Subtraction(SqlInt32, SqlInt32) |
Subtracts the second SqlInt32 parameter from the first. |
| UnaryNegation(SqlInt32) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IXmlSerializable.GetSchema() |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| IXmlSerializable.ReadXml(XmlReader) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| IXmlSerializable.WriteXml(XmlWriter) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Applies to
See also
Feedback
Was this page helpful?
