WindowsFormsApplicationBase.OnInitialize メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WindowsFormsApplicationBase.OnInitialize メソッドの意味・解説 

WindowsFormsApplicationBase.OnInitialize メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

メイン アプリケーション スレッドについて、visual スタイル、テキスト表示スタイル、および (アプリケーションに Windows 認証が使用されている場合) 現在のプリンシパルを設定し、スプラッシュ スクリーンが定義されている場合は、そのスプラッシュ スクリーンを初期化します。

名前空間: Microsoft.VisualBasic.ApplicationServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Protected Overridable Function
 OnInitialize ( _
    commandLineArgs As ReadOnlyCollection(Of
 String) _
) As Boolean
Dim commandLineArgs As ReadOnlyCollection(Of
 String)
Dim returnValue As Boolean

returnValue = Me.OnInitialize(commandLineArgs)
protected virtual bool OnInitialize (
    ReadOnlyCollection<string> commandLineArgs
)
protected:
virtual bool OnInitialize (
    ReadOnlyCollection<String^>^ commandLineArgs
)
protected boolean OnInitialize (
    ReadOnlyCollection<String> commandLineArgs
)
protected function OnInitialize (
    commandLineArgs : ReadOnlyCollection<String>
) : boolean

パラメータ

commandLineArgs

現在のアプリケーションのコマンド ライン引数が文字列として格納された、String の ReadOnlyCollection。

戻り値
アプリケーションの起動を続行するかどうかを示す Boolean 値。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WindowsFormsApplicationBase クラス
WindowsFormsApplicationBase メンバ
Microsoft.VisualBasic.ApplicationServices 名前空間
EnableVisualStyles
ShowSplashScreen
OnCreateSplashScreen
その他の技術情報
Visual Basic アプリケーション モデルの拡張



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

WindowsFormsApplicationBase.OnInitialize メソッドのお隣キーワード
検索ランキング

   

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



WindowsFormsApplicationBase.OnInitialize メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS