> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IXtfFileIOClient 接口（接口内容）

> IXtfFileIOClient Interface

# IXtfFileIOClient Interface

表示 XBOX 工具框架 (XTF) 文件 I/O 客户端。

## 语法

```cpp theme={null}
interface IXtfFileIOClient : public IUnknown  
```

## 方法

| 方法 | 描述 |
| - | - |
| [CopyFiles](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/copyfiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 在开发主机上的两个位置之间复制文件，并返回有关此操作的信息。 |
| [CreateDirectory](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/createdirectory-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 在开发主机上创建指定的目录。 |
| [DeleteFiles](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/deletefiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 从开发主机中删除文件。 |
| [FindFiles](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/findfiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 在开发主机上搜索文件。 |
| [GetFileAttributes](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/getfileattributes-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 检索开发主机上指定文件的属性。 |
| [GetFileInfo](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/getfileinfo-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 检索有关开发主机上指定文件的信息。 |
| [GetFileSize](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/getfilesize-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 检索开发主机上指定文件的大小。 |
| [RemoveDirectory](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/removedirectory-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 从开发主机中删除指定的目录。 |
| [SetFileAttributes](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/setfileattributes-ixtffileioclient-xtffileio-xbox-microsoft-m.md) | 设置开发主机上文件的属性。 |

## 备注

此接口通过调用 [XtfCreateFileIOClient](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/methods/xtfcreatefileioclient-xtffileio-xbox-microsoft-m.md) 创建。**IXtfFileIOClient** 允许你以编程方式对开发主机执行所有基本的文件操作。**IXtfFileIOClient** 的功能包括在开发主机上查找、复制、创建、删除、编辑文件和目录以及获取其信息。

## 要求

**头文件：** xtffileio.h

**库：** xtffileio.lib

**支持的平台：** Windows（用于 XBOX 主机工具）

## 另请参阅

[XtfFileIO](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/xtffileio-xbox-microsoft-n)\
[XtfCreateFileIOClient](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/methods/xtfcreatefileioclient-xtffileio-xbox-microsoft-m.md)


## Related topics

- [IXtfRemoteRunClient 接口（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [IXtfConsoleControlClient（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient.md)
- [IXtfRemoteRunCallback 接口（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IDStorageFileX（接口内容）](https://devdocs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [IXtfConfigSettingsCallback（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConfigSettingsCallback/ixtfconfigsettingscallback.md)
