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

# 获取字典所有键名

## 指令说明

**描述：** 在字典中获取所有键名列表

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/getdictionarykeyscommand-02.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=65853bc9aae04fd558e9ec839025a498" alt="获取字典所有键名指令参数面板" width="648" height="346" data-path="helpcenter/commands/data-processing/images/getdictionarykeyscommand-02.png" />

    | 参数     | 说明     |
    | ------ | ------ |
    | **字典** | 输入字典变量 |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/getdictionarykeyscommand-03.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=2f2cb805921653d7f903a584115f82e0" alt="获取字典所有键名使用示例" width="849" height="243" data-path="helpcenter/commands/data-processing/images/getdictionarykeyscommand-03.png" />

**该流程执行逻辑：**

本例演示【获取字典所有键名】指令的配置与执行：

1. 选择需要读取的字典变量。
2. 获取该字典的全部键名，并将键名列表保存为结果。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/getdictionarykeyscommand-01.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=106b67c23998e75463384efc3975ebad" alt="获取字典所有键名效果展示" width="835" height="232" data-path="helpcenter/commands/data-processing/images/getdictionarykeyscommand-01.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/getdictionarykeyscommand-04.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=094e45e414d0fe41c2f166173f87a762" alt="获取字典所有键名效果展示" width="833" height="242" data-path="helpcenter/commands/data-processing/images/getdictionarykeyscommand-04.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
