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

# WriteChange.Link

> Points a link at an object, or at none, or adds or removes one link of an array, answered with nothing.

```csharp
public sealed record WriteChange.Link : WriteChange, IEquatable<WriteChange>, IEquatable<WriteChange.Link>
```

**Extends:** `WriteChange`

**Implements:** `IEquatable<WriteChange>`, `IEquatable<Link>`

## Constructors

```csharp
public Link(string Object, string Id, string Field, ObjectLink? Target)
```

Points a link at an object, or at none, or adds or removes one link of an array, answered with nothing.

### Parameters

**Object** `string` *required*

The manifest object's key.

**Id** `string` *required*

The vendor's id for the record holding the link.

**Field** `string` *required*

The link field's key.

**Target** `ObjectLink` *required*

The object it points at, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for none.

## Properties

**Change** `LinkChange` *required*

**Element** `Nullable\<ElementKey\>`

**Type:** `Nullable<ElementKey>`

The collection element holding the link, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for the record's own.

**EqualityContract** `Type` *required*

**Field** `string` *required*

The link field's key.

**Id** `string` *required*

The vendor's id for the record holding the link.

**Object** `string` *required*

The manifest object's key.

**Target** `ObjectLink`

The object it points at, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for none.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Object, out string Id, out string Field, out ObjectLink? Target)
```

#### Parameters

**Object** `string` *required*

**Id** `string` *required*

**Field** `string` *required*

**Target** `ObjectLink` *required*

### Equals()

```csharp
public override sealed bool Equals(WriteChange? other)
```

#### Parameters

**other** `WriteChange` *required*

#### Returns

`bool`

```csharp
public bool Equals(WriteChange.Link? other)
```

#### Parameters

**other** `Link` *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 !=(WriteChange.Link? left, WriteChange.Link? right)
```

#### Parameters

**left** `Link` *required*

**right** `Link` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(WriteChange.Link? left, WriteChange.Link? right)
```

#### Parameters

**left** `Link` *required*

**right** `Link` *required*

#### Returns

`bool`

### PrintMembers()

```csharp
protected override bool PrintMembers(StringBuilder builder)
```

#### Parameters

**builder** `StringBuilder` *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.