System::IO::File::Exists 方法
File::Exists method
确定指定路径是否引用了已存在的文件。
static bool System::IO::File::Exists(const String &path)
| 参数 | 类型 | 描述 |
|---|---|---|
| 路径 | const String& | 要测试的路径 |
ReturnValue
如果 path 引用的是已有文件,则为 true;否则为 false
另见
- Class String
- Class File
- Namespace System::IO
- Library Aspose.Font for C++