SqlInt64 Explicit Conversion (SqlDouble to SqlInt64)

 
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.

Converts the supplied SqlDouble structure to SqlInt64.

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

public static explicit operator SqlInt64 (
	SqlDouble x
)

Parameters

x
Type: System.Data.SqlTypes.SqlDouble

The SqlDouble structure to be converted.

Return Value

Type: System.Data.SqlTypes.SqlInt64

A new SqlInt64 structure whose Value property equals the integer part of the SqlDouble parameter.

.NET Framework
Available since 1.1
Return to top
Show: