WindowsFormsApplicationBase.OnInitialize メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
メイン アプリケーション スレッドのビジュアル スタイル、テキスト表示スタイル、および現在のプリンシパル (アプリケーションがWindows 認証を使用している場合) を設定し、定義されている場合はスプラッシュ画面を初期化します。
protected:
virtual bool OnInitialize(System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ commandLineArgs);
[System.STAThread]
protected virtual bool OnInitialize(System.Collections.ObjectModel.ReadOnlyCollection<string> commandLineArgs);
[<System.STAThread>]
abstract member OnInitialize : System.Collections.ObjectModel.ReadOnlyCollection<string> -> bool
override this.OnInitialize : System.Collections.ObjectModel.ReadOnlyCollection<string> -> bool
Protected Overridable Function OnInitialize (commandLineArgs As ReadOnlyCollection(Of String)) As Boolean
パラメーター
- commandLineArgs
- ReadOnlyCollection<String>
現在のアプリケーションの文字列としてコマンド ライン引数を含む読み取り専用コレクション。
返品
アプリケーションの起動を続行するかどうかを示す Boolean 。
- 属性
注釈
既定では、このメソッドはメイン アプリケーション スレッドのビジュアル スタイル、テキスト表示スタイル、および現在のプリンシパルを設定し (アプリケーションが Windows 認証を使用している場合)、ShowSplashScreenも/nosplashもコマンド ライン引数として使用しない場合は-nosplashを呼び出します。
このメソッドは、次のメソッドを呼び出します。