SqlSingle SqlSingle SqlSingle SqlSingle Struct

Definition

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
[System.Serializable]
public struct SqlSingle : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlSingle = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlSingle
Implements IComparable, INullable, IXmlSerializable
Inheritance
Attributes
Implements

Remarks

Maps to the SQL Server real data type. For more information, see System.Data.SqlTypes.

Constructors

SqlSingle(Double) SqlSingle(Double) SqlSingle(Double) SqlSingle(Double)

Initializes a new instance of the SqlSingle structure using the supplied double parameter.

SqlSingle(Single) SqlSingle(Single) SqlSingle(Single) SqlSingle(Single)

Initializes a new instance of the SqlSingle structure.

Fields

MaxValue MaxValue MaxValue MaxValue

Represents the maximum value that can be assigned to the Value property of an instance of the SqlSingle class.

MinValue MinValue MinValue MinValue

Represents the minimum value that can be assigned to Value property of an instance of the SqlSingle class.

Null Null Null Null

Represents a DBNull that can be assigned to this instance of the SqlSingle structure.

Zero Zero Zero Zero

Represents the zero value that can be assigned to the Value property of an instance of the SqlSingle class.

Properties

IsNull IsNull IsNull IsNull

Indicates whether this SqlSingle structure is null.

Value Value Value Value

Gets the value of this SqlSingle structure. This property is read-only.

Methods

Add(SqlSingle, SqlSingle) Add(SqlSingle, SqlSingle) Add(SqlSingle, SqlSingle) Add(SqlSingle, SqlSingle)

Computes the sum of the two specified SqlSingle structures.

CompareTo(SqlSingle) CompareTo(SqlSingle) CompareTo(SqlSingle) CompareTo(SqlSingle)

Compares this SqlSingle instance to the supplied SqlSingle and returns an indication of their relative values.

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

Compares this SqlSingle instance to the supplied Object and returns an indication of their relative values.

Divide(SqlSingle, SqlSingle) Divide(SqlSingle, SqlSingle) Divide(SqlSingle, SqlSingle) Divide(SqlSingle, SqlSingle)

Divides the first SqlSingle structure by the second.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the supplied object parameter to the Value property of the SqlSingle object.

Equals(SqlSingle, SqlSingle) Equals(SqlSingle, SqlSingle) Equals(SqlSingle, SqlSingle) Equals(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for this instance.

GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet)

Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

GreaterThan(SqlSingle, SqlSingle) GreaterThan(SqlSingle, SqlSingle) GreaterThan(SqlSingle, 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) GreaterThanOrEqual(SqlSingle, SqlSingle) GreaterThanOrEqual(SqlSingle, SqlSingle) 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) LessThan(SqlSingle, SqlSingle) LessThan(SqlSingle, SqlSingle) 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) LessThanOrEqual(SqlSingle, SqlSingle) LessThanOrEqual(SqlSingle, SqlSingle) 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) Multiply(SqlSingle, SqlSingle) Multiply(SqlSingle, SqlSingle) Multiply(SqlSingle, SqlSingle)

Computes the product of the two specified SqlSingle structures.

NotEquals(SqlSingle, SqlSingle) NotEquals(SqlSingle, SqlSingle) NotEquals(SqlSingle, SqlSingle) NotEquals(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal.

Parse(String) Parse(String) Parse(String) Parse(String)

Converts the specified String to a SqlSingle structure.

Subtract(SqlSingle, SqlSingle) Subtract(SqlSingle, SqlSingle) Subtract(SqlSingle, SqlSingle) Subtract(SqlSingle, SqlSingle)

Subtracts the second SqlSingle structure from the first.

ToSqlBoolean() ToSqlBoolean() ToSqlBoolean() ToSqlBoolean()

Converts this SqlSingle structure to SqlBoolean.

ToSqlByte() ToSqlByte() ToSqlByte() ToSqlByte()

Converts this SqlSingle structure to SqlByte.

ToSqlDecimal() ToSqlDecimal() ToSqlDecimal() ToSqlDecimal()

Converts this SqlSingle structure to SqlDecimal.

ToSqlDouble() ToSqlDouble() ToSqlDouble() ToSqlDouble()

Converts this SqlSingle structure to SqlDouble.

ToSqlInt16() ToSqlInt16() ToSqlInt16() ToSqlInt16()

Converts this SqlSingle structure to SqlInt16.

ToSqlInt32() ToSqlInt32() ToSqlInt32() ToSqlInt32()

Converts this SqlSingle structure to SqlInt32.

ToSqlInt64() ToSqlInt64() ToSqlInt64() ToSqlInt64()

Converts this SqlSingle structure to SqlInt64.

ToSqlMoney() ToSqlMoney() ToSqlMoney() ToSqlMoney()

Converts this SqlSingle structure to SqlMoney.

ToSqlString() ToSqlString() ToSqlString() ToSqlString()

Converts this SqlSingle structure to SqlString.

ToString() ToString() ToString() ToString()

Converts this SqlSingle structure to String.

Operators

Addition(SqlSingle, SqlSingle) Addition(SqlSingle, SqlSingle) Addition(SqlSingle, SqlSingle) Addition(SqlSingle, SqlSingle)

Computes the sum of the two specified SqlSingle structures.

Division(SqlSingle, SqlSingle) Division(SqlSingle, SqlSingle) Division(SqlSingle, SqlSingle) Division(SqlSingle, SqlSingle)

Divides the first SqlSingle structure by the second.

Equality(SqlSingle, SqlSingle) Equality(SqlSingle, SqlSingle) Equality(SqlSingle, SqlSingle) Equality(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle)

This implicit operator converts the supplied SqlBoolean to SqlSingle.

Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle)

Converts the supplied SqlDouble parameter to SqlSingle.

Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single)

Converts the specified SqlSingle structure to float.

Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle)

Converts the supplied SqlString parameter to SqlSingle.

GreaterThan(SqlSingle, SqlSingle) GreaterThan(SqlSingle, SqlSingle) GreaterThan(SqlSingle, 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) GreaterThanOrEqual(SqlSingle, SqlSingle) GreaterThanOrEqual(SqlSingle, SqlSingle) 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) Implicit(Single to SqlSingle) Implicit(Single to SqlSingle) Implicit(Single to SqlSingle)

Converts the specified floating point value to SqlSingle.

Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle)

Converts the supplied SqlMoney structure to SqlSingle.

Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle)

Converts the supplied SqlInt64 parameter to SqlSingle.

Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle)

This implicit operator converts the SqlByte parameter to SqlSingle.

Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle)

Converts the supplied SqlInt16 parameter to SqlSingle.

Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle)

Converts the supplied SqlDecimal parameter to SqlSingle.

Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle)

Converts the supplied SqlInt32 structure to SqlSingle.

Inequality(SqlSingle, SqlSingle) Inequality(SqlSingle, SqlSingle) Inequality(SqlSingle, SqlSingle) Inequality(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal.

LessThan(SqlSingle, SqlSingle) LessThan(SqlSingle, SqlSingle) LessThan(SqlSingle, SqlSingle) 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) LessThanOrEqual(SqlSingle, SqlSingle) LessThanOrEqual(SqlSingle, SqlSingle) 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) Multiply(SqlSingle, SqlSingle) Multiply(SqlSingle, SqlSingle) Multiply(SqlSingle, SqlSingle)

Computes the product of the two specified SqlSingle structures.

Subtraction(SqlSingle, SqlSingle) Subtraction(SqlSingle, SqlSingle) Subtraction(SqlSingle, SqlSingle) Subtraction(SqlSingle, SqlSingle)

Subtracts the second SqlSingle structure from the first.

UnaryNegation(SqlSingle) UnaryNegation(SqlSingle) UnaryNegation(SqlSingle) UnaryNegation(SqlSingle)

Negates the Value of the specified SqlSingle structure.

Explicit Interface Implementations

IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) 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