> ## 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.

# QueryContainerBlobs

> 返回一个 BlobInfo 对象向量，用于标识指定容器中的 Blob（文件）。

# Microsoft.Xbox.Wrappers.XGameSave.Provider.QueryContainerBlobs

返回一个 [BlobInfo](/reference/system/Wrappers/structs/blobinfo) 对象向量，用于标识指定容器中的 Blob（文件）。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
BlobInfoSet QueryContainerBlobs(const std::string& containerName);
```

<a id="parametersSection" />

### 参数

*containerName*   \_In\_<br />类型：std::string

要查询的容器的名称。

<a id="retvalSection" />

### 返回值

类型：BlobInfoSet

返回一个 [BlobInfoSet](/reference/system/Wrappers/vectors/blobinfoset) 对象，它是一个 BlobInfo 对象的向量。

<a id="remarksSection" />

## 备注

每个 `BlobInfo` 结构体都包含容器中一个 Blob 的名称和大小。

必须先调用 [Initialize](/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_initialize) 方法，然后才能调用 `Provider` 类中的任何其他方法。

若要返回与提供的名称前缀相匹配的容器名称向量，请调用 [QueryContainers](/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_querycontainers)。

<a id="requirementsSection" />

## 要求

**标头：** xgamesavewrappers.hpp

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

[Microsoft.Xbox.Wrappers.XGameSave.Provider](/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider)<br />[XGameSave 包装器成员](/reference/system/Wrappers/xgamesave_wrapper_members)<br />[BlobInfo](/reference/system/Wrappers/structs/blobinfo)<br />[BlobInfoSet](/reference/system/Wrappers/vectors/blobinfoset)
