Share via


Dictionary.Count Property (BCL)

The Count property is a read-only Integer that contains the number of elements in the Dictionary object instance.

Definition

[Visual Basic .NET]

Public Property Count As Integer

[C#]

public int Count {get; }

Property Value

This property returns the number of elements in the Dictionary object instance.

Remarks

The Count parameter points to valid data only if the property is accessed successfully.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: mscscorelib (in mscscorelib.dll)

See Also

Dictionary Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.