Edit

Tag Constructors

Tag() Constructor

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Initializes a new instance of the Tag class.

public Tag()
    {
    }

Tag(String) Constructor

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Initializes a new instance of the Tag class with its _text set to text.

public Tag(string text)
    {
        _text = text;
    }

Parameters

text String

The text to be set for the tag. This parameter allows you to initialize the tag with a specific string value at the time of its creation.