dbicCalendar Send comments on this topic.
Capacity Property
See Also 
dbicPIM Assembly > Dbi.PIM Namespace > dbiDayFormatCollection Class : Capacity Property

Gets or sets the number of elements that the System.Collections.CollectionBase can contain.

Syntax

Visual Basic (Declaration) 
Public Property Capacity As Integer
C# 
public int Capacity {get; set;}

Property Value

The number of elements that the System.Collections.CollectionBase can contain.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeExceptionSystem.Collections.CollectionBase.Capacity is set to a value that is less than System.Collections.CollectionBase.Count.
System.OutOfMemoryExceptionThere is not enough memory available on the system.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also