SqlDouble Explicit Conversion (SqlString to SqlDouble)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Data.SqlTypes.SqlString.ToSqlDouble

Converts the supplied SqlString parameter to SqlDouble.

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

public static explicit operator SqlDouble (
	SqlString x
)

Parameters

x
Type: System.Data.SqlTypes.SqlString

A SqlString object.

Return Value

Type: System.Data.SqlTypes.SqlDouble

A new SqlDouble whose Value is equal to the value of the number represented by the SqlString. If the SqlString is Null, the SqlDouble structure will be Null.

.NET Framework
Available since 1.1
Return to top
Show: