SqlDateTime コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlDateTime コンストラクタの意味・解説 

SqlDateTime コンストラクタ (Int32, Int32, Int32, Int32, Int32, Int32, Double)

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

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

パラメータ

year

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

month

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

day

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

hour

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

minute

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

second

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

millisecond

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用

SqlDateTime コンストラクタ (Int32, Int32)

パラメータ指定して、SqlDateTime 構造体新しインスタンス初期化します。

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Sub New ( _
    dayTicks As Integer, _
    timeTicks As Integer _
)
Dim dayTicks As Integer
Dim timeTicks As Integer

Dim instance As New SqlDateTime(dayTicks,
 timeTicks)
public SqlDateTime (
    int dayTicks,
    int timeTicks
)
public:
SqlDateTime (
    int dayTicks, 
    int timeTicks
)
public SqlDateTime (
    int dayTicks, 
    int timeTicks
)
public function SqlDateTime (
    dayTicks : int, 
    timeTicks : int
)

パラメータ

dayTicks

日付タイマ刻みとして表す整数値。

timeTicks

時刻タイマ刻みとして表す整数値。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用

SqlDateTime コンストラクタ (DateTime)


SqlDateTime コンストラクタ (Int32, Int32, Int32, Int32, Int32, Int32)

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

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

public function SqlDateTime (
    year : int, 
    month : int, 
    day : int, 
    hour : int, 
    minute : int, 
    second : int
)

パラメータ

year

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

month

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

day

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

hour

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

minute

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

second

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用

SqlDateTime コンストラクタ

SqlDateTime 構造体新しインスタンス初期化します。 SqlTypes の使用
オーバーロードの一覧オーバーロードの一覧

名前 説明
SqlDateTime (DateTime) DateTime 値を指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SqlDateTime (Int32, Int32) パラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SqlDateTime (Int32, Int32, Int32) 年、月、日を初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SqlDateTime (Int32, Int32, Int32, Int32, Int32, Int32) 新し構造体の年、月、日、時、分、秒を初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SqlDateTime (Int32, Int32, Int32, Int32, Int32, Int32, Double) 新し構造体の年、月、日、時、分、秒、ミリ秒初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SqlDateTime (Int32, Int32, Int32, Int32, Int32, Int32, Int32) 新し構造体の年、月、日、時、分、秒、10 億分の 1 秒を初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

参照参照

関連項目

SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間

その他の技術情報

SqlTypes の使用
SqlTypes の使用

SqlDateTime コンストラクタ (Int32, Int32, Int32)

年、月、日を初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

public SqlDateTime (
    int year,
    int month,
    int day
)
public:
SqlDateTime (
    int year, 
    int month, 
    int day
)
public SqlDateTime (
    int year, 
    int month, 
    int day
)
public function SqlDateTime (
    year : int, 
    month : int, 
    day : int
)

パラメータ

year

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

month

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

day

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用

SqlDateTime コンストラクタ (Int32, Int32, Int32, Int32, Int32, Int32, Int32)

新し構造体の年、月、日、時、分、秒、10 億分の 1 秒を初期化するパラメータ指定してSqlDateTime 構造体新しインスタンス初期化します。

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Sub New ( _
    year As Integer, _
    month As Integer, _
    day As Integer, _
    hour As Integer, _
    minute As Integer, _
    second As Integer, _
    bilisecond As Integer _
)
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
)
public SqlDateTime (
    int year, 
    int month, 
    int day, 
    int hour, 
    int minute, 
    int second, 
    int bilisecond
)
public function SqlDateTime (
    year : int, 
    month : int, 
    day : int, 
    hour : int, 
    minute : int, 
    second : int, 
    bilisecond : int
)

パラメータ

year

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

month

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

day

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

hour

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

minute

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

second

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

bilisecond

新しSqlDateTime 構造体10 億分の 1 秒を表す整数値。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDateTime 構造体
SqlDateTime メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SqlDateTime コンストラクタ」の関連用語

SqlDateTime コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlDateTime コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS