AssemblyInfo.DirectoryPath Özellik

Tanım

Uygulamanın depolandığı dizini alır.

public:
 property System::String ^ DirectoryPath { System::String ^ get(); };
public string DirectoryPath { get; }
member this.DirectoryPath : string
Public ReadOnly Property DirectoryPath As String

Özellik Değeri

String Uygulamanın depolandığı dizini içeren.

Örnekler

Bu örnek, My.Application.Info.DirectoryPath uygulamanın depolandığı dizin yolunu görüntülemek için özelliğini kullanır.

MsgBox("Application directory path: " & My.Application.Info.DirectoryPath)

Açıklamalar

özelliği, My.Application.Info.DirectoryPath uygulamanın depolandığı dizini alır.

Proje Türüne Göre Kullanılabilirlik

Proje türü Mevcut
Windows Forms Uygulaması Yes
Sınıf Kitaplığı Yes
Konsol Uygulaması Yes
Windows Forms Denetim Kitaplığı Yes
Web Denetim Kitaplığı No
Windows Hizmeti Yes
Web Sitesi No

Şunlara uygulanır

Ayrıca bkz.