共用方式為


StringBuilderPooledObjectPolicy.MaximumRetainedCapacity 屬性

定義

取得或設定叫用時Return(StringBuilder),允許保留的最大值Capacity

public:
 property int MaximumRetainedCapacity { int get(); void set(int value); };
public int MaximumRetainedCapacity { get; set; }
member this.MaximumRetainedCapacity : int with get, set
Public Property MaximumRetainedCapacity As Integer

屬性值

預設值為 4096

適用於