次の方法で共有


レッスン 4 : アプリケーション (VB/VC#) の実行

Visual Studio には、IDE からコンソール アプリケーションをビルドおよび実行するための次のような方法が用意されています。

  • 開始 (デバッグあり)

  • デバッグなしで開始

GetPropertiesSample をビルドおよび実行するには

  1. [デバッグ] メニューの [デバッグなしで開始] をクリックします。この開始方法では、プログラムの実行が終了しても、コンソール ウィンドウが開いたままになります。

    次のように、アプリケーションからコンソールに出力されます。

    Name: Company Sales
    Description: Adventure Works sales by quarter and product category. This report
    illustrates the use of a matrix data region that provides drilldown from summary
    data into detail data by showing and hiding rows. This report also illustrates
    the use of background images.
    Press any key to continue...
    
  2. GetPropertiesSample を閉じるには、何らかのキーを押します。