System.String[] Value { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Value property of the TagAttribute class represents the tags associated with a specific type or member. This property is an array of strings, allowing multiple tags to be assigned. These tags can be used for categorization, filtering, or any other purpose where tagging is beneficial.

Usage

To use the Value property, you must first apply the TagAttribute to a class, method, or other member. You can then set the Value property to an array of strings representing the tags you wish to associate with that member.

Example

// Example of using TagAttribute with the Value property
[TagAttribute(Value = new string[] { "Player", "Character", "NPC" })]
public class PlayerCharacter : GameObject
{
    // Class implementation
}