Sitecore 5.0 API

StringHashtable.Count Property

Gets the number of strings in the table.

[Visual Basic]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}

Property Value

The number of strings in the table.

Example

  StringHashtable table = new StringHashtable();
  table["myKey"] = "Hello world";
  int count = table.Count; // 1

See Also

StringHashtable Class | Sitecore.Collections Namespace