log4net SDK Reference |

# ReusableStringWriter.Reset Method

Reset this string writer so that it can be reused.

[Visual Basic]
Public Sub Reset( _
ByVal maxCapacity As Integer, _
ByVal defaultSize As Integer _
)
[C#]
public void Reset(
int maxCapacity,
int defaultSize
);

#### Parameters

maxCapacity
  the maximum buffer capacity before it is trimmed
defaultSize
  the default size to make the buffer

#### Remarks

Reset this string writer so that it can be reused. The internal buffers are cleared and reset.

#### See Also

ReusableStringWriter Class | log4net.Util Namespace