Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���intmaxCapacity,
���intdefaultSize
);

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