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

# ElementKey

> Where one element of a keyed collection sits in an account.

```csharp
public readonly struct ElementKey : IEquatable<ElementKey>
```

**Implements:** `IEquatable<ElementKey>`

## Constructors

```csharp
public ElementKey(string Path, string ParentKey, string Key)
```

Where one element of a keyed collection sits in an account.

### Parameters

**Path** `string` *required*

The collection's field path, as `workRelationships/assignments`.

**ParentKey** `string` *required*

Identifies the element the collection sits in, empty at the account.

**Key** `string` *required*

Identifies the element itself, from the collection's `key_fields`.

## Properties

**Key** `string` *required*

Identifies the element itself, from the collection's `key_fields`.

**ParentKey** `string` *required*

Identifies the element the collection sits in, empty at the account.

**Path** `string` *required*

The collection's field path, as `workRelationships/assignments`.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Path, out string ParentKey, out string Key)
```

#### Parameters

**Path** `string` *required*

**ParentKey** `string` *required*

**Key** `string` *required*

### Equals()

```csharp
public bool Equals(ElementKey other)
```

#### Parameters

**other** `ElementKey` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(ElementKey left, ElementKey right)
```

#### Parameters

**left** `ElementKey` *required*

**right** `ElementKey` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(ElementKey left, ElementKey right)
```

#### Parameters

**left** `ElementKey` *required*

**right** `ElementKey` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.