PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Unsafe­String Class / Unsafe­String Methods / Unsafe­String.​To­Char­Array Method

UnsafeString.ToCharArray Method

Gets an ArraySegment<T> representing the current UnsafeString.

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

Return Value

Type: ArraySegment<Char>
An ArraySegment<T> representing the current UnsafeString.
See Also