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

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

Interaction.Command メソッド

Visual Basic を起動するために使用されるコマンド ライン、または Visual Basic を使って開発した実行可能プログラムの引数の部分を返します。My 機能は、Command 関数よりも高い生産性とパフォーマンスを実現します。詳細については、「My.Application.CommandLineArgs プロパティ」を参照してください。

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

解説解説
使用例使用例

Command 関数を使用して、配列を含むオブジェクトとしてコマンド ラインの引数を返す例を次に示します。

Function GetCommandLineArgs() As String()
   ' Declare variables.
   Dim separators As String
 = " "
   Dim commands As String
 = Microsoft.VisualBasic.Interaction.Command()
   Dim args() As String
 = commands.Split(separators.ToCharArray)
   Return args
End Function
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



Interaction.Command メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS