# void Obj::Clear()

[Family: Obj](/en/CKS/familias/obj/)

## Exact signature

```text
void Obj::Clear()
```

## Description

Clears the Obj reference held by the variable on which it is called, leaving it without an associated object.

## Usage notes

Modifies the reference stored in that variable. The reviewed operation writes a null reference; it does not issue an order to remove the object from the map. Behavior with an invalid reference container has not been checked dynamically.

## Parameters and return type

**Return type:** `void`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/exports/en/cks/api-eae0bc909cb9f8.md)
- [JSON](/CKS/api/entries/api-eae0bc909cb9f8?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
