Description
The Tags
property of the MemberDescription
class provides an array of strings representing tags associated with a member. These tags are typically specified using the [Tags]
attribute. Tags can be used to categorize or label members for various purposes, such as filtering or searching within the Sandbox environment.
Usage
To access the tags associated with a member, you can use the Tags
property. This property returns an array of strings, each representing a tag. You can iterate over this array to process or display the tags as needed.
Example
// Example of accessing the Tags property
MemberDescription memberDescription = GetMemberDescription();
string[] tags = memberDescription.Tags;
foreach (string tag in tags)
{
// Process each tag
Console.WriteLine(tag);
}