PostSharp//API Reference/Post­Sharp.​Patterns.​Formatters/Unsafe­String­Builder/Truncate
Open sandboxFocus

Method Truncate

Truncate(Int32)

Truncates the string to a maximum length.

Declaration
public void Truncate(int length)
Parameters
Type Name Description
Int32 length

The wished length of the string after truncation