Export (0) Print
Expand All

SqlSingle Structure

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.

Namespace:  System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

[SerializableAttribute]
public struct SqlSingle : INullable, IComparable, 
	IXmlSerializable

The SqlSingle type exposes the following members.

  NameDescription
Public methodSupported by the XNA FrameworkSqlSingle(Double)Initializes a new instance of the SqlSingle structure using the supplied double parameter.
Public methodSupported by the XNA FrameworkSqlSingle(Single)Initializes a new instance of the SqlSingle structure.
Top

  NameDescription
Public propertySupported by the XNA FrameworkIsNullIndicates whether this SqlSingle structure is null.
Public propertySupported by the XNA FrameworkValueGets the value of this SqlSingle structure. This property is read-only.
Top

  NameDescription
Public methodStatic memberSupported by the XNA FrameworkAddComputes the sum of the two specified SqlSingle structures.
Public methodSupported by the XNA FrameworkCompareTo(Object)Compares this SqlSingle instance to the supplied Object and returns an indication of their relative values.
Public methodSupported by the XNA FrameworkCompareTo(SqlSingle)Compares this SqlSingle instance to the supplied SqlSingle and returns an indication of their relative values.
Public methodStatic memberSupported by the XNA FrameworkDivideDivides the first SqlSingle structure by the second.
Public methodSupported by the XNA FrameworkEquals(Object)Compares the supplied object parameter to the Value property of the SqlSingle object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the XNA FrameworkEquals(SqlSingle, SqlSingle)Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.
Public methodSupported by the XNA FrameworkGetHashCodeGets the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the XNA FrameworkGetXsdTypeReturns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanPerforms a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanOrEqualPerforms a logical comparison of two SqlSingle structures to determine whether the first is greater than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanPerforms a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanOrEqualPerforms a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two specified SqlSingle structures.
Public methodStatic memberSupported by the XNA FrameworkNotEqualsPerforms a logical comparison of the two SqlSingle parameters to determine whether they are not equal.
Public methodStatic memberSupported by the XNA FrameworkParseConverts the specified String to a SqlSingle structure.
Public methodStatic memberSupported by the XNA FrameworkSubtractSubtracts the second SqlSingle structure from the first.
Public methodSupported by the XNA FrameworkToSqlBooleanConverts this SqlSingle structure to SqlBoolean.
Public methodSupported by the XNA FrameworkToSqlByteConverts this SqlSingle structure to SqlByte.
Public methodSupported by the XNA FrameworkToSqlDecimalConverts this SqlSingle structure to SqlDecimal.
Public methodSupported by the XNA FrameworkToSqlDoubleConverts this SqlSingle structure to SqlDouble.
Public methodSupported by the XNA FrameworkToSqlInt16Converts this SqlSingle structure to SqlInt16.
Public methodSupported by the XNA FrameworkToSqlInt32Converts this SqlSingle structure to SqlInt32.
Public methodSupported by the XNA FrameworkToSqlInt64Converts this SqlSingle structure to SqlInt64.
Public methodSupported by the XNA FrameworkToSqlMoneyConverts this SqlSingle structure to SqlMoney.
Public methodSupported by the XNA FrameworkToSqlStringConverts this SqlSingle structure to SqlString.
Public methodSupported by the XNA FrameworkToStringConverts this SqlSingle structure to String. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberSupported by the XNA FrameworkAdditionComputes the sum of the two specified SqlSingle structures.
Public operatorStatic memberSupported by the XNA FrameworkDivisionDivides the first SqlSingle structure by the second.
Public operatorStatic memberSupported by the XNA FrameworkEqualityPerforms a logical comparison of the two SqlSingle parameters to determine whether they are equal.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlBoolean to SqlSingle)This implicit operator converts the supplied SqlBoolean to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlDouble to SqlSingle)Converts the supplied SqlDouble parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlSingle to Single)Converts the specified SqlSingle structure to float.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlString to SqlSingle)Converts the supplied SqlString parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanPerforms a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanOrEqualPerforms a logical comparison of two SqlSingle structures to determine whether the first is greater than or equl to the second.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(Single to SqlSingle)Converts the specified floating point value to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlByte to SqlSingle)This implicit operator converts the SqlByte parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlDecimal to SqlSingle)Converts the supplied SqlDecimal parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlInt16 to SqlSingle)Converts the supplied SqlInt16 parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlInt32 to SqlSingle)Converts the supplied SqlInt32 structure to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlInt64 to SqlSingle)Converts the supplied SqlInt64 parameter to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(SqlMoney to SqlSingle)Converts the supplied SqlMoney structure to SqlSingle.
Public operatorStatic memberSupported by the XNA FrameworkInequalityPerforms a logical comparison of the two SqlSingle parameters to determine whether they are not equal.
Public operatorStatic memberSupported by the XNA FrameworkLessThanPerforms a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second.
Public operatorStatic memberSupported by the XNA FrameworkLessThanOrEqualPerforms a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkMultiplyComputes the product of the two specified SqlSingle structures.
Public operatorStatic memberSupported by the XNA FrameworkSubtractionSubtracts the second SqlSingle structure from the first.
Public operatorStatic memberSupported by the XNA FrameworkUnaryNegationNegates the Value of the specified SqlSingle structure.
Top

  NameDescription
Public fieldStatic memberSupported by the XNA FrameworkMaxValueRepresents the maximum value that can be assigned to the Value property of an instance of the SqlSingle class.
Public fieldStatic memberSupported by the XNA FrameworkMinValueRepresents the minimum value that can be assigned to Value property of an instance of the SqlSingle class.
Public fieldStatic memberSupported by the XNA FrameworkNullRepresents a DBNull that can be assigned to this instance of the SqlSingle structure.
Public fieldStatic memberSupported by the XNA FrameworkZeroRepresents the zero value that can be assigned to the Value property of an instance of the SqlSingle class.
Top

  NameDescription
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.GetSchemaThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.ReadXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.WriteXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft