![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Directory Property
Gets or sets the default root directory where files are located.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public string Directory { get; }
Public ReadOnly Property Directory As String Get
public: property String^ Directory { String^ get (); }
member Directory : string with get
![](collapse_all.gif)
String
The default root directory where files are located.
The default root directory where files are located.
![](collapse_all.gif)
For details about how the default directory is used,
see OpenFileReadStream(String, FileAttributes%, DateTime%) and OpenFileWriteStream(String, Int64, DateTime).
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)