SqlDateTime コンストラクター

定義

SqlDateTime構造体の新しいインスタンスを初期化します。

オーバーロード

名前 説明
SqlDateTime(DateTime)

指定したSqlDateTime値を使用して、DateTime構造体の新しいインスタンスを初期化します。

SqlDateTime(Int32, Int32)

指定されたパラメーターを使用して、 SqlDateTime 構造体の新しいインスタンスを初期化します。

SqlDateTime(Int32, Int32, Int32)

指定されたパラメーターを使用して、 SqlDateTime 構造体の新しいインスタンスを初期化して、年、月、日を初期化します。

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32)

指定したパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、および秒を初期化します。

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Double)

指定したパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、秒、ミリ秒を初期化します。

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

指定されたパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、秒、マイクロ秒を初期化します。

SqlDateTime(DateTime)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定したSqlDateTime値を使用して、DateTime構造体の新しいインスタンスを初期化します。

public:
 SqlDateTime(DateTime value);
public SqlDateTime(DateTime value);
new System.Data.SqlTypes.SqlDateTime : DateTime -> System.Data.SqlTypes.SqlDateTime
Public Sub New (value As DateTime)

パラメーター

value
DateTime

DateTime 構造。

こちらもご覧ください

適用対象

SqlDateTime(Int32, Int32)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定されたパラメーターを使用して、 SqlDateTime 構造体の新しいインスタンスを初期化します。

public:
 SqlDateTime(int dayTicks, int timeTicks);
public SqlDateTime(int dayTicks, int timeTicks);
new System.Data.SqlTypes.SqlDateTime : int * int -> System.Data.SqlTypes.SqlDateTime
Public Sub New (dayTicks As Integer, timeTicks As Integer)

パラメーター

dayTicks
Int32

日付をティックとして表す整数値。

timeTicks
Int32

時間をティックとして表す整数値。

こちらもご覧ください

適用対象

SqlDateTime(Int32, Int32, Int32)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定されたパラメーターを使用して、 SqlDateTime 構造体の新しいインスタンスを初期化して、年、月、日を初期化します。

public:
 SqlDateTime(int year, int month, int day);
public SqlDateTime(int year, int month, int day);
new System.Data.SqlTypes.SqlDateTime : int * int * int -> System.Data.SqlTypes.SqlDateTime
Public Sub New (year As Integer, month As Integer, day As Integer)

パラメーター

year
Int32

新しい SqlDateTime 構造体の年を表す整数。

month
Int32

新しい SqlDateTime 構造体の月を表す整数値。

day
Int32

新しい SqlDateTime 構造体の日付番号を表す整数値。

こちらもご覧ください

適用対象

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定したパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、および秒を初期化します。

public:
 SqlDateTime(int year, int month, int day, int hour, int minute, int second);
public SqlDateTime(int year, int month, int day, int hour, int minute, int second);
new System.Data.SqlTypes.SqlDateTime : int * int * int * int * int * int -> System.Data.SqlTypes.SqlDateTime
Public Sub New (year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer)

パラメーター

year
Int32

新しい SqlDateTime 構造体の年を表す整数値。

month
Int32

新しい SqlDateTime 構造体の月を表す整数値。

day
Int32

新しい SqlDateTime 構造体の月の日を表す整数値。

hour
Int32

新しい SqlDateTime 構造体の時間を表す整数値。

minute
Int32

新しい SqlDateTime 構造体の分を表す整数値。

second
Int32

新しい SqlDateTime 構造体の 2 番目の構造体を表す整数値。

こちらもご覧ください

適用対象

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Double)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定したパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、秒、ミリ秒を初期化します。

public:
 SqlDateTime(int year, int month, int day, int hour, int minute, int second, double millisecond);
public SqlDateTime(int year, int month, int day, int hour, int minute, int second, double millisecond);
new System.Data.SqlTypes.SqlDateTime : int * int * int * int * int * int * double -> System.Data.SqlTypes.SqlDateTime
Public Sub New (year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, millisecond As Double)

パラメーター

year
Int32

新しい SqlDateTime 構造体の年を表す整数値。

month
Int32

新しい SqlDateTime 構造体の月を表す整数値。

day
Int32

新しい SqlDateTime 構造体の月の日を表す整数値。

hour
Int32

新しい SqlDateTime 構造体の時間を表す整数値。

minute
Int32

新しい SqlDateTime 構造体の分を表す整数値。

second
Int32

新しい SqlDateTime 構造体の 2 番目の構造体を表す整数値。

millisecond
Double

新しい SqlDateTime 構造体のミリ秒を表す double 値。

こちらもご覧ください

適用対象

SqlDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs
ソース:
SQLDateTime.cs

指定されたパラメーターを使用して SqlDateTime 構造体の新しいインスタンスを初期化し、新しい構造体の年、月、日、時、分、秒、マイクロ秒を初期化します。

public:
 SqlDateTime(int year, int month, int day, int hour, int minute, int second, int bilisecond);
public SqlDateTime(int year, int month, int day, int hour, int minute, int second, int bilisecond);
new System.Data.SqlTypes.SqlDateTime : int * int * int * int * int * int * int -> System.Data.SqlTypes.SqlDateTime
Public Sub New (year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, bilisecond As Integer)

パラメーター

year
Int32

新しい SqlDateTime 構造体の年を表す整数値。

month
Int32

新しい SqlDateTime 構造体の月を表す整数値。

day
Int32

新しい SqlDateTime 構造体の日付を表す整数値。

hour
Int32

新しい SqlDateTime 構造体の時間を表す整数値。

minute
Int32

新しい SqlDateTime 構造体の分を表す整数値。

second
Int32

新しい SqlDateTime 構造体の 2 番目の構造体を表す整数値。

bilisecond
Int32

新しい SqlDateTime 構造体のマイクロ秒 (ミリ秒の 1000 分の 1) を表す整数値。

こちらもご覧ください

適用対象