| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim capacity As Integer Dim instance As New StatusCodeCollection(capacity) | |
Parameters
- capacity
- The maximum capacity allowed for this instance of the collection
            Initializes the collection with the specified capacity.
            
            
            
            
            
            Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    