This documentation is archived and is not being maintained.
SqlSingle Structure
Visual Studio 2010
Represents a floating point number within the range of -3.40E +38 through 3.40E +38 to be stored in or retrieved from a database.
Assembly: System.Data (in System.Data.dll)
The SqlSingle type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | SqlSingle(Double) | Initializes a new instance of the SqlSingle structure using the supplied double parameter. |
![]() ![]() | SqlSingle(Single) | Initializes a new instance of the SqlSingle structure. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Add | Computes the sum of the two specified SqlSingle structures. |
![]() ![]() | CompareTo(Object) | Compares this SqlSingle instance to the supplied Object and returns an indication of their relative values. |
![]() ![]() | CompareTo(SqlSingle) | Compares this SqlSingle instance to the supplied SqlSingle and returns an indication of their relative values. |
![]() ![]() ![]() | Divide | Divides the first SqlSingle structure by the second. |
![]() ![]() | Equals(Object) | Compares the supplied object parameter to the Value property of the SqlSingle object. (Overrides ValueType::Equals(Object).) |
![]() ![]() ![]() | Equals(SqlSingle, SqlSingle) | Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Gets 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 | Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | LessThan | Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() | Multiply | Computes the product of the two specified SqlSingle structures. |
![]() ![]() ![]() | NotEquals | Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal. |
![]() ![]() ![]() | Parse | Converts the specified String to a SqlSingle structure. |
![]() ![]() ![]() | Subtract | Subtracts the second SqlSingle structure from the first. |
![]() ![]() | ToSqlBoolean | Converts this SqlSingle structure to SqlBoolean. |
![]() ![]() | ToSqlByte | Converts this SqlSingle structure to SqlByte. |
![]() ![]() | ToSqlDecimal | Converts this SqlSingle structure to SqlDecimal. |
![]() ![]() | ToSqlDouble | Converts this SqlSingle structure to SqlDouble. |
![]() ![]() | ToSqlInt16 | Converts this SqlSingle structure to SqlInt16. |
![]() ![]() | ToSqlInt32 | Converts this SqlSingle structure to SqlInt32. |
![]() ![]() | ToSqlInt64 | Converts this SqlSingle structure to SqlInt64. |
![]() ![]() | ToSqlMoney | Converts this SqlSingle structure to SqlMoney. |
![]() ![]() | ToSqlString | Converts this SqlSingle structure to SqlString. |
![]() ![]() | ToString | Converts this SqlSingle structure to String. (Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Addition | Computes the sum of the two specified SqlSingle structures. |
![]() ![]() ![]() | Division | Divides the first SqlSingle structure by the second. |
![]() ![]() ![]() | Equality | Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal. |
![]() ![]() ![]() | Explicit(SqlBoolean to SqlSingle) | This implicit operator converts the supplied SqlBoolean to SqlSingle. |
![]() ![]() ![]() | Explicit(SqlDouble to SqlSingle) | Converts the supplied SqlDouble parameter to SqlSingle. |
![]() ![]() ![]() | Explicit(SqlSingle to Single) | Converts the specified SqlSingle structure to float. |
![]() ![]() ![]() | Explicit(SqlString to SqlSingle) | Converts the supplied SqlString parameter to SqlSingle. |
![]() ![]() ![]() | GreaterThan | Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equl to the second. |
![]() ![]() ![]() | Implicit(Single to SqlSingle) | Converts the specified floating point value to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlByte to SqlSingle) | This implicit operator converts the SqlByte parameter to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlDecimal to SqlSingle) | Converts the supplied SqlDecimal parameter to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlInt16 to SqlSingle) | Converts the supplied SqlInt16 parameter to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlInt32 to SqlSingle) | Converts the supplied SqlInt32 structure to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlInt64 to SqlSingle) | Converts the supplied SqlInt64 parameter to SqlSingle. |
![]() ![]() ![]() | Implicit(SqlMoney to SqlSingle) | Converts the supplied SqlMoney structure to SqlSingle. |
![]() ![]() ![]() | Inequality | Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal. |
![]() ![]() ![]() | LessThan | Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second. |
![]() ![]() ![]() | Multiply | Computes the product of the two specified SqlSingle structures. |
![]() ![]() ![]() | Subtraction | Subtracts the second SqlSingle structure from the first. |
![]() ![]() ![]() | UnaryNegation | Negates the Value of the specified SqlSingle structure. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | MaxValue | Represents the maximum value that can be assigned to the Value property of an instance of the SqlSingle class. |
![]() ![]() ![]() | MinValue | Represents the minimum value that can be assigned to Value property of an instance of the SqlSingle class. |
![]() ![]() ![]() | Null | Represents a DBNull that can be assigned to this instance of the SqlSingle structure. |
![]() ![]() ![]() | Zero | Represents the zero value that can be assigned to the Value property of an instance of the SqlSingle class. |
| 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. |
Maps to the SQL Server real data type. For more information, see System.Data.SqlTypes or SQL Server Books Online.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
