---
title: "Glossary: DeleteCompareExchangeCommandData"
url: "https://docs.ravendb.net/6.2/glossary/delete-compare-exchange-command-data"
version: "6.2"
language: "csharp"
---

# Glossary: DeleteCompareExchangeCommandData

> Client language: C#.
>
> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Properties

| Name | Type | Description |
| - | - | - |
| **key** | string | The key to be deleted |
| **index** | long | The version number of the value to be deleted |

## Methods

| Signature | Description |
| - | - |
| **DynamicJsonValue ToJson(DocumentConventions conventions, JsonOperationContext context)** | Translate this instance to a Json. |
