Share via


ReadOnlyDictionary<TKey, TValue>.Count property

Gets the number of key/value pairs contained in the ReadOnlyDictionary

Namespace:  Microsoft.SharePoint.Taxonomy.Generic
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As ReadOnlyDictionary
Dim value As Integer

value = instance.Count
public int Count { get; }

Property value

Type: System.Int32
The number of key/value pairs contained in the ReadOnlyDictionary

Implements

ICollection<T>.Count
ICollection.Count

See also

Reference

ReadOnlyDictionary<TKey, TValue> class

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.Taxonomy.Generic namespace