Breyta

Deila með


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
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
SqlSingle
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, SqlSingle)

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

Equals(SqlSingle)

Indicates whether the current instance is equal to another instance of the same type.

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)

Converts the specified String to a SqlSingle structure.

Subtract(SqlSingle, SqlSingle)

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.

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)

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(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)

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(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)

Negates the Value of the specified SqlSingle structure.

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.

Applies to

See also