SqlDateTime.Implicit(DateTime to SqlDateTime) Operador

Definição

Converte uma estrutura DateTime em uma estrutura SqlDateTime.

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

Parâmetros

value
DateTime

Uma estrutura DateTime.

Retornos

SqlDateTime

Uma estrutura SqlDateTime cujo Value é igual às propriedades Date e TimeOfDay combinadas da estrutura DateTime fornecida.

Aplica-se a

Confira também