Vcl.Samples.DirOutln.TDirectoryOutline.SetDirectory
Delphi
procedure SetDirectory(const NewDirectory: TFileName);
C++
void __fastcall SetDirectory(const System::Sysutils::TFileName NewDirectory);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.Samples.DirOutln.pas Vcl.Samples.DirOutln.hpp |
Vcl.Samples.DirOutln | TDirectoryOutline |
Description
Sets the current directory.
SetDirectory sets the current directory to the value passed in the parameter. NewDirectory must contain the relative or absolute path of an existing directory.
SetDirectory is the protected write implementation of the Directory property.