Capacity Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the maximum number of elements that the current collection can contain.

Namespace:  Microsoft.SPOT.Presentation
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Overridable Property Capacity As Integer
public virtual int Capacity { get; set; }
public:
virtual property int Capacity {
    int get ();
    void set (int value);
}
abstract Capacity : int with get, set
override Capacity : int with get, set
function get Capacity () : int
function set Capacity (value : int)

Property Value

Type: System. . :: . .Int32
The maximum number of elements that the current collection can contain.

.NET Framework Security

See Also

Reference

UIElementCollection Class

Microsoft.SPOT.Presentation Namespace