System.IOUtils.TPath.GetExtendedPrefix
Delphi
class function GetExtendedPrefix(const Path: string): TPathPrefixType; static;
C++
static TPathPrefixType __fastcall GetExtendedPrefix(const System::UnicodeString Path);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
説明
指定されたパスの拡張プレフィックス タイプを返します。
GetExtendedPrefix を呼び出すと、指定されたパスの拡張プレフィックス タイプを指定する TPathPrefixType を取得できます。 先頭に \\?\ または \\?\UNC\ が付くパスは Windows 固有のもので、非常に長くてもよく、255 文字(MAX_PATH)には制限されません。255 文字より長いパスを扱うのは、今日よくあることです。それらの先頭に \\?\ を付ければ、問題は解決します。