Szerkesztés

Megosztás a következőn keresztül:


SqlDouble Struct

Definition

Represents a floating-point number within the range of -1.79E +308 through 1.79E +308 to be stored in or retrieved from a database.

public value class SqlDouble : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlDouble : IComparable, IEquatable<System::Data::SqlTypes::SqlDouble>, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlDouble : IComparable, System::Data::SqlTypes::INullable
public struct SqlDouble : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlDouble : IComparable, IEquatable<System.Data.SqlTypes.SqlDouble>, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlDouble : IComparable, System.Data.SqlTypes.INullable
[System.Serializable]
public struct SqlDouble : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlDouble = struct
    interface INullable
    interface IXmlSerializable
type SqlDouble = struct
    interface INullable
[<System.Serializable>]
type SqlDouble = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlDouble
Implements IComparable, INullable, IXmlSerializable
Public Structure SqlDouble
Implements IComparable, IEquatable(Of SqlDouble), INullable, IXmlSerializable
Public Structure SqlDouble
Implements IComparable, INullable
Inheritance
SqlDouble
Attributes
Implements

Constructors

SqlDouble(Double)

Initializes a new instance of the SqlDouble structure using the supplied double parameter to set the new SqlDouble structure's Value property.

Fields

MaxValue

A constant representing the maximum value for a SqlDouble structure.

MinValue

A constant representing the minimum possible value of SqlDouble.

Null

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

Zero

Represents a zero value that can be assigned to the Value property of an instance of the SqlDouble structure.

Properties

IsNull

Returns a Boolean value that indicates whether this SqlDouble instance is null.

Value

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

Methods

Add(SqlDouble, SqlDouble)

The addition operator computes the sum of the two SqlDouble operands.

CompareTo(Object)

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

CompareTo(SqlDouble)

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

Divide(SqlDouble, SqlDouble)

The division operator divides the first SqlDouble operand by the second.

Equals(Object)

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

Equals(SqlDouble, SqlDouble)

Performs a logical comparison on two instances of SqlDouble to determine whether they are equal.

Equals(SqlDouble)

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

GetHashCode()

Returns the hash code for this SqlDouble structure.

GetXsdType(XmlSchemaSet)

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

GreaterThan(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is greater than or equal to the second.

LessThan(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is less than the second.

LessThanOrEqual(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is less than or equal to the second.

Multiply(SqlDouble, SqlDouble)

The multiplication operator computes the product of the two SqlDouble operands.

NotEquals(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether they are notequal.

Parse(String)

Converts the String representation of a number to its double-precision floating point number equivalent.

Subtract(SqlDouble, SqlDouble)

The subtraction operator the second SqlDouble operand from the first.

ToSqlBoolean()

Converts this SqlDouble structure to SqlBoolean.

ToSqlByte()

Converts this SqlDouble structure to SqlByte.

ToSqlDecimal()

Converts this SqlDouble structure to SqlDecimal.

ToSqlInt16()

Converts this SqlDouble structure to SqlInt16.

ToSqlInt32()

Converts this SqlDouble structure to SqlInt32.

ToSqlInt64()

Converts this SqlDouble structure to SqlInt64.

ToSqlMoney()

Converts this SqlDouble structure to SqlMoney.

ToSqlSingle()

Converts this SqlDouble structure to SqlSingle.

ToSqlString()

Converts this SqlDouble structure to SqlString.

ToString()

Converts this SqlDouble structure to a string.

Operators

Addition(SqlDouble, SqlDouble)

The addition operator computes the sum of the two SqlDouble operands.

Division(SqlDouble, SqlDouble)

The division operator divides the first SqlDouble operand by the second.

Equality(SqlDouble, SqlDouble)

Performs a logical comparison on two instances of SqlDouble to determine whether they are equal.

Explicit(SqlBoolean to SqlDouble)

Converts the supplied SqlBoolean parameter to SqlDouble.

Explicit(SqlDouble to Double)

Converts the supplied SqlDouble structure to double.

Explicit(SqlString to SqlDouble)

Converts the supplied SqlString parameter to SqlDouble.

GreaterThan(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is greater than or equal to the second.

Implicit(Double to SqlDouble)

Converts the supplied double value to a SqlDouble.

Implicit(SqlByte to SqlDouble)

Converts the supplied SqlByte parameter to SqlDouble.

Implicit(SqlDecimal to SqlDouble)

Converts the supplied SqlDecimal parameter to SqlDouble.

Implicit(SqlInt16 to SqlDouble)

Converts the supplied SqlInt16 parameter to SqlDouble.

Implicit(SqlInt32 to SqlDouble)

Converts the supplied SqlInt32 parameter to SqlDouble.

Implicit(SqlInt64 to SqlDouble)

Converts the supplied SqlInt64 parameter to SqlDouble.

Implicit(SqlMoney to SqlDouble)

Converts the supplied SqlMoney parameter to SqlDouble.

Implicit(SqlSingle to SqlDouble)

Converts the supplied SqlSingle parameter to SqlDouble.

Inequality(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether they are not equal.

LessThan(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is less than the second.

LessThanOrEqual(SqlDouble, SqlDouble)

Compares two instances of SqlDouble to determine whether the first is less than or equal to the second.

Multiply(SqlDouble, SqlDouble)

The multiplication operator computes the product of the two SqlDouble operands.

Subtraction(SqlDouble, SqlDouble)

The subtraction operator the second SqlDouble operand from the first.

UnaryNegation(SqlDouble)

Returns the negated value of the specified SqlDouble 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