Construct a list with the specified capacity and preallocate the members
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
public StringList( int capacity ) |
Visual Basic |
---|
Public Sub New ( _ capacity As Integer _ ) |
Visual C++ |
---|
public: StringList( int capacity ) |
Parameters
- capacity
- Type: System..::..Int32