Property TagName
TagName
Gets the string based tag name.
Declaration
public string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Examples
The following example prints tag value.
Tag tag1 = new Tag("Alpha");
Tag tag2 = new Tag("Beta");
if (tag1.Equals(tag2))
{
Console.WriteLine("{0} and {1} are same", tag1.TagName, tag2.TagName);
}