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 AnnotationCollection
Dim value As Integer
instance.Capacity = value
value = instance.Capacity
|
C# |
|
public int Capacity {get; set;} |
Exceptions
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