SqlSingle Struct
Definition
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 floating point number within the range of -3.40E +38 through 3.40E +38 to be stored in or retrieved from a database.
public value class SqlSingle : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlSingle : IComparable, IEquatable<System::Data::SqlTypes::SqlSingle>, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlSingle : IComparable, System::Data::SqlTypes::INullable
public struct SqlSingle : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlSingle : IComparable, IEquatable<System.Data.SqlTypes.SqlSingle>, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlSingle : IComparable, System.Data.SqlTypes.INullable
[System.Serializable]
public struct SqlSingle : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlSingle = struct
interface INullable
interface IXmlSerializable
type SqlSingle = struct
interface INullable
[<System.Serializable>]
type SqlSingle = struct
interface INullable
interface IXmlSerializable
Public Structure SqlSingle
Implements IComparable, INullable, IXmlSerializable
Public Structure SqlSingle
Implements IComparable, IEquatable(Of SqlSingle), INullable, IXmlSerializable
Public Structure SqlSingle
Implements IComparable, INullable
- Inheritance
- Attributes
- Implements
Remarks
Maps to the SQL Server real data type. For more information, see System.Data.SqlTypes.
Constructors
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. |
Fields
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. |
Properties
IsNull |
Indicates whether this SqlSingle structure is null. |
Value |
Gets the value of this SqlSingle structure. This property is read-only. |
Methods
Add(SqlSingle, SqlSingle) |
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(SqlSingle, SqlSingle) |
Divides the first SqlSingle structure by the second. |
Equals(Object) |
Compares the supplied object parameter to the Value property of the SqlSingle object. |
Equals(SqlSingle) |
Indicates whether the current instance is equal to another instance of the same type. |
Equals(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal. |
GetHashCode() |
Gets the hash code for this instance. |
GetXsdType(XmlSchemaSet) |
Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
GreaterThan(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlSingle, SqlSingle) |
Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equal to the second. |
LessThan(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second. |
LessThanOrEqual(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second. |
Multiply(SqlSingle, SqlSingle) |
Computes the product of the two specified SqlSingle structures. |
NotEquals(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal. |
Parse(String) | |
Subtract(SqlSingle, SqlSingle) |
Subtracts the second SqlSingle structure from the first. |
ToSqlBoolean() |
Converts this SqlSingle structure to SqlBoolean. |
ToSqlByte() | |
ToSqlDecimal() |
Converts this SqlSingle structure to SqlDecimal. |
ToSqlDouble() | |
ToSqlInt16() | |
ToSqlInt32() | |
ToSqlInt64() | |
ToSqlMoney() | |
ToSqlString() | |
ToString() |
Operators
Addition(SqlSingle, SqlSingle) |
Computes the sum of the two specified SqlSingle structures. |
Division(SqlSingle, SqlSingle) |
Divides the first SqlSingle structure by the second. |
Equality(SqlSingle, SqlSingle) |
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) | |
Explicit(SqlSingle to Single) |
Converts the specified SqlSingle structure to float. |
Explicit(SqlString to SqlSingle) | |
GreaterThan(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlSingle, SqlSingle) |
Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equal 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) | |
Implicit(SqlInt32 to SqlSingle) | |
Implicit(SqlInt64 to SqlSingle) | |
Implicit(SqlMoney to SqlSingle) | |
Inequality(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal. |
LessThan(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second. |
LessThanOrEqual(SqlSingle, SqlSingle) |
Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second. |
Multiply(SqlSingle, SqlSingle) |
Computes the product of the two specified SqlSingle structures. |
Subtraction(SqlSingle, SqlSingle) |
Subtracts the second SqlSingle structure from the first. |
UnaryNegation(SqlSingle) |
Explicit Interface Implementations
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. |