Dundas Chart for Windows Forms
Capacity Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > TitleCollection Class : Capacity Property


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

Syntax

Visual Basic (Declaration)  
Public Property Capacity As Integer
Visual Basic (Usage) Copy Code
Dim instance As TitleCollection
Dim value As Integer
 
instance.Capacity = value
 
value = instance.Capacity
C#  
public int Capacity {get; set;}

Exceptions

Exception Description
ArgumentOutOfRangeException Capacity is set to a value that is less than Count.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.