PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Unsafe­String­Builder Class/Unsafe­String­Builder Properties

UnsafeStringBuilder Properties

The UnsafeStringBuilder type exposes the following members.

Properties
  NameDescription
Public propertyBuffer
Gets a pointer to the unmanaged buffer of the current UnsafeStringBuilder.
Public propertyCapacity
Gets the capacity (number of char) of the current UnsafeStringBuilder.
Public propertyIsDisposed
Determines whether the current UnsafeStringBuilder has been disposed.
Public propertyItem
Gets the char at a given position in the current UnsafeStringBuilder.
Public propertyLength
Gets the current number of characters in the current UnsafeStringBuilder.
Public propertyThrowOnOverflow
true if an OverflowException should be thrown when the buffer capacity is insufficient, false if the Append method should return false without exception.
Public propertyVersion
Gets the version of the current UnsafeStringBuilder. This property is incremented every time the current object is reused, more specifically, when the Clear() method is called.
See Also