SqlDateTime.Explicit 연산자

정의

매개 변수를 구조체로 변환합니다 SqlDateTime .

오버로드

Name Description
Explicit(SqlDateTime to DateTime)

구조를 구조체로 DateTime 변환합니다SqlDateTime.

Explicit(SqlString to SqlDateTime)

매개 변수SqlDateTimeSqlString .로 변환합니다.

Explicit(SqlDateTime to DateTime)

구조를 구조체로 DateTime 변환합니다SqlDateTime.

public:
 static explicit operator DateTime(System::Data::SqlTypes::SqlDateTime x);
public static explicit operator DateTime(System.Data.SqlTypes.SqlDateTime x);
static member op_Explicit : System.Data.SqlTypes.SqlDateTime -> DateTime
Public Shared Narrowing Operator CType (x As SqlDateTime) As DateTime

매개 변수

x
SqlDateTime

구조체입니다 SqlDateTime .

반품

DateTime 제공된 SqlDateTimeDate 구조체의 속성과 동일한 날짜 및 시간 값을 Value 포함하는 개체입니다TimeOfDay.

설명

이 연산자에 해당하는 메서드는 다음과 같습니다. SqlDateTime.Value

추가 정보

적용 대상

Explicit(SqlString to SqlDateTime)

매개 변수SqlDateTimeSqlString .로 변환합니다.

public:
 static explicit operator System::Data::SqlTypes::SqlDateTime(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlDateTime(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlDateTime
Public Shared Narrowing Operator CType (x As SqlString) As SqlDateTime

매개 변수

반품

SqlDateTime 매개 변수가 Value 나타내는 SqlString 날짜 및 시간과 같은 구조체입니다. SqlString null Value 이면 새로 만든 SqlDateTime 구조체의 null이 됩니다.

추가 정보

적용 대상