PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Char­Span Structure / Char­Span Properties

CharSpan Properties

The CharSpan type exposes the following members.

Public propertyIsBackedByCharArray
Determines whether the current CharSpan is backed by a char[]. In this case, the ToCharArraySegment() method does not allocate memory.
Public propertyIsNull
Determines whether the current instance represents a null string.
Public propertyLength
Gets the number of Char in the span.
See Also