PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection(T) Class/Element­Collection(T) Methods/Element­Collection(T).​Ensure­Capacity Method

ElementCollection<T>.EnsureCapacity Method

Allocates additional capacity in the collection.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public void EnsureCapacity(
	int capacity
)

Parameters

capacity
Type: System.Int32
Additional capacity.

Implements

IPreAllocatedCollection.EnsureCapacity(Int32)
See Also