Construct a list with the specified capacity and preallocate the members
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2014.2.93.1619 (2014.2.93.1619)
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