SqlDateTime.Implicit(DateTime to SqlDateTime) Operator

Definicja

Konwertuje DateTime strukturę na SqlDateTime strukturę.

public:
 static operator System::Data::SqlTypes::SqlDateTime(DateTime value);
public static implicit operator System.Data.SqlTypes.SqlDateTime (DateTime value);
static member op_Implicit : DateTime -> System.Data.SqlTypes.SqlDateTime
Public Shared Widening Operator CType (value As DateTime) As SqlDateTime

Parametry

value
DateTime

Struktura DateTime .

Zwraca

SqlDateTime Struktura, której Value struktura jest równa połączonym Date i TimeOfDay właściwościom dostarczonej DateTime struktury.

Dotyczy

Zobacz też