| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim capacity As Integer Dim instance As New Int16Collection(capacity) | |
Parameters
- capacity
- The max size of the collection
            Initializes the collection and specifies the capacity
            
            
            
            
            
            Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    