PostSharp6.5/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Char­Span Structure/Char­Span Methods/Char­Span.​To­Char­Array­Segment Method

CharSpan.ToCharArraySegment Method

Converts the current CharSpan into an ArraySegment<T> of Char.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.2.0 (6.5.2.0)
Syntax
C#
public ArraySegment<char> ToCharArraySegment()

Return Value

Type: ArraySegment<Char>
See Also