AssemblyInfo.DirectoryPath プロパティ
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
名前空間: Microsoft.VisualBasic.ApplicationServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文
public string DirectoryPath { get; }

詳細については、Visual Basic のトピック「My.Application.Info.DirectoryPath プロパティ」を参照してください。
My.Application.Info.DirectoryPath プロパティは、アプリケーションが格納されたディレクトリを取得します。

この例では、My.Application.Info.DirectoryPath プロパティを使用して、アプリケーションが格納されたディレクトリのパスを表示します。
MsgBox("Application directory path: " & My.Application.Info.DirectoryPath)

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- AssemblyInfo.DirectoryPath プロパティのページへのリンク