[This is preliminary documentation and is subject to change.]
Construct a list with the specified capacity and preallocate the members
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)
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