Skip to main content

1E 9.x (on-premises)

Tagging.Clear

Module

Tagging

Method

Clear

Library

Core

Action

Delete all tags of the specified type.

Parameters

Scopable (boolean; optional):

  • true - Delete all Device tags (default)

  • false - Delete all Freeform tags

Return values

Success (boolean): Whether deletion of all tags of the type was completely successful or not.

Example

// Delete all freeform tags
Tagging.Clear(Scopable: false);

Platforms

  • Windows

  • Linux

  • MacOS

Notes

Note

Use with care! This method is recommended only for testing.