Dundas Chart for ASP.NET
Capacity Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > CommandUIItemCollection 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 CommandUIItemCollection
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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.