Skip to main content

1E SDK

Tagging.Delete

Module

Tagging

Method

Delete

Library

Core

Action

Delete the named tag of the specified type, and indicate if it originally existed.

Parameters

Name (string): The name of the tag to delete.

Scopable (boolean; optional):

  • true - Delete a Device tag (default)

  • false - Delete a Freeform tag

Return values

Name (string): The tag's name.

Present (boolean): true if the tag originally existed (and so was deleted), false if there was no such tag.

Example

// Delete the "WithScanner" freeform tag 
Tagging.Delete(Name: "WithScanner", Scopable: false);

Platforms

  • Windows

  • Linux

  • MacOS

Notes

It is not an error if the tag does not exist.