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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.