Vcl.Samples.DirOutln.TDirectoryOutline.SetDrive

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure SetDrive(NewDrive: Char);

C++

void __fastcall SetDrive(System::WideChar NewDrive);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Samples.DirOutln.pas
Vcl.Samples.DirOutln.hpp
Vcl.Samples.DirOutln TDirectoryOutline

説明

カレント ドライブを設定します。

SetDrive は、カレント ドライブを、NewDrive パラメータで渡された値に設定します。指定可能なのは文字のみです。

SetDrive は、Drive プロパティの protected の書き込み実装です。

関連項目