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

# DeleteAll Method of the PopupMenu Object

> DeleteAll method of the PopupMenu Object in ABBYY FineReader Engine Visual Components on Windows — This method removes all elements from the custom part of the context menu.

This method removes all elements from the custom part of the context menu.

## Syntax

### C++

```cpp theme={null}
HRESULT DeleteAll();
```

### C\#

```csharp theme={null}
void DeleteAll();
```

### Visual Basic .NET

```vb theme={null}
Sub DeleteAll()
```

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[PopupMenu](/fine-reader/engine/visual-components-reference/supplementary-objects/popupmenu)
