Property Count
Count
It returns the number of items in the NamedTagsDictionary.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of items in the NamedTagsDictionary. |
Examples
The following example prints the number of tags.
NamedTagsDictionary tags = new NamedTagsDictionary();
tags.Add("Tag1", int.MaxValue);
Console.WriteLine("Number of the named tags: " + tags.Count);