Skip to main content
PnpObjectCollection.Size | size property

Applies to Windows and Windows Phone

Returns the number of items in the collection.

Syntax


var size = pnpObjectCollection.size;

public:
property unsigned int Size { 
   unsigned int get();
}

Property value

Type: Number [JavaScript] | uint32 [C++]

The number of items 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
Windows::Devices::Enumeration::Pnp [C++]

Metadata

Windows.winmd

See also

PnpObjectCollection