# \[Dictionary]カテゴリのノード

Dynamo 2.0 では\[Dictionary]カテゴリのさまざまなノードが公開されており、使用することができます。*作成、アクション、クエリー* のノードがあります。

!

#### Create

1. `Dictionary.ByKeysValues` は、指定した値とキーでディクショナリを作成します。*(項目数は、最短のリストの入力によります)*

#### Action

2. `Dictionary.Components` は、入力ディクショナリのコンポーネントを作成します。*(これはノードの作成と逆の操作です)*。
3. `Dictionary.RemoveKeys` は、入力キーが削除された新しいディクショナリのオブジェクトを作成します。
4. `Dictionary.SetValueAtKeys` は、入力キーと値に基づいて新しいディクショナリを作成し、対応するキーで現在の値を置き換えます。
5. `Dictionary.ValueAtKey` は、入力キーに対する値を返します。

#### Query

6. `Dictionary.Count` は、ディクショナリに含まれるキーと値のペア数を示します。
7. `Dictionary.Keys` は、現在ディクショナリに格納されているキーを返します。
8. `Dictionary.Values` は、現在ディクショナリに格納されている値を返します。

ディクショナリに関するあらゆるデータは、インデックスとリストを操作する従来の方法に代わる優れた手段です。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://primer2.dynamobim.org/ja/5_essential_nodes_and_concepts/5-5_dictionaries-in-dynamo/2-node-uses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
