Removes all Tag objects from the TagGroup collection
Remove all instances of Tag classes in the TagGroup
VB
Dim MyGroup As New GELink.TagGroup
Dim MyTag_1 As New GELink.Tag("%R1")
Dim MyTag_2 As New GELink.Tag("%M1")
MyGroup.AddTag(MyTag_1)
MyGroup.AddTag(MyTag_2)
' * number of tags in the group
Console.WriteLine(MyGroup.Count.ToString())
' * clear
MyGroup.Clear()
' * number of tags in the group
Console.WriteLine(MyGroup.Count.ToString())
C#
GELink.TagGroup MyGroup = new GELink.TagGroup();
GELink.Tag MyTag_1 = new GELink.Tag("%R1");
GELink.Tag MyTag_2 = new GELink.Tag("%M1");
MyGroup.AddTag(MyTag_1);
MyGroup.AddTag(MyTag_2);
// number of tags in the group
Console.WriteLine(MyGroup.Count.ToString());
// clear group
MyGroup.Clear();
// number of tags in group
Console.WriteLine(MyGroup.Count.ToString());
TagGroup Class | GELink Namespace | AddTag | RemoveTag | Count