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

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

SoapYearMonth コンストラクタ (DateTime, Int32)

指定した DateTime オブジェクトおよび Value が正または負のどちらの値であるかを示す整数使用して、SoapYearMonth クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

解説解説

0 未満整数は、負の sign示します

使用例使用例

このコンストラクタ使用するコードの例次に示します

// Create a SoapYearMonth object with a positive sign.
SoapYearMonth yearMonth = new SoapYearMonth(DateTime.Now, 1);
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
// Create a SoapYearMonth object with a positive sign.
SoapYearMonth^ year = gcnew SoapYearMonth( DateTime::Now,1 );
Console::WriteLine( "The year is {0}.", year );
// Create a SoapYearMonth object with a positive sign.
SoapYearMonth yearMonth = new SoapYearMonth(DateTime.get_Now(),
 1);
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapYearMonth クラス
SoapYearMonth メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapYearMonth コンストラクタ

SoapYearMonth クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
SoapYearMonth () SoapYearMonth クラス新しインスタンス初期化します。
SoapYearMonth (DateTime) 指定した DateTime オブジェクト使用してSoapYearMonth クラス新しインスタンス初期化します。
SoapYearMonth (DateTime, Int32) 指定した DateTime オブジェクトおよび Value が正または負のどちらの値であるかを示す整数使用してSoapYearMonth クラス新しインスタンス初期化します。
参照参照

関連項目

SoapYearMonth クラス
SoapYearMonth メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapYearMonth コンストラクタ (DateTime)

指定した DateTime オブジェクト使用して、SoapYearMonth クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

使用例使用例

このコンストラクタ使用するコードの例次に示します

// Create a SoapYearMonth object.
SoapYearMonth yearMonth = new SoapYearMonth(DateTime.Now);
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
// Create a SoapYearMonth object.
SoapYearMonth^ year = gcnew SoapYearMonth( DateTime::Now );
Console::WriteLine( "The year is {0}.", year );
// Create a SoapYearMonth object.
SoapYearMonth yearMonth = new SoapYearMonth(DateTime.get_Now());
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapYearMonth クラス
SoapYearMonth メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapYearMonth コンストラクタ ()

SoapYearMonth クラス新しインスタンス初期化します。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

public SoapYearMonth ()
public:
SoapYearMonth ()
public SoapYearMonth ()
public function SoapYearMonth ()
使用例使用例

このコンストラクタ使用するコードの例次に示します

// Create a SoapYearMonth object.
SoapYearMonth yearMonth = new SoapYearMonth();
yearMonth.Value = DateTime.Now;
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
// Create a SoapYearMonth object.
SoapYearMonth^ year = gcnew SoapYearMonth;
year->Value = DateTime::Now;
Console::WriteLine( "The year is {0}.", year );
// Create a SoapYearMonth object.
SoapYearMonth yearMonth = new SoapYearMonth();
yearMonth.set_Value(DateTime.get_Now());
Console.WriteLine("The yearMonth is {0}.", yearMonth.ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapYearMonth クラス
SoapYearMonth メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間



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

辞書ショートカット

すべての辞書の索引

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

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

   

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



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

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

©2025 GRAS Group, Inc.RSS