Skip to main content
PnpObjectCollection.Count property

Applies to Windows and Windows Phone

Gets the number of elements contained in the collection.

Syntax


public int Count { get; }

Public ReadOnly Property Count As Integer

Property value

Type: System.Int32

The number of elements contained in the collection.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Enumeration.Pnp

See also

PnpObjectCollection