PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Char­Span Structure/Char­Span Type Conversions/Char­Span Implicit Conversion Operators/Char­Span Implicit Conversion (String to Char­Span)

CharSpan Implicit Conversion (String to CharSpan)

Converts a String into a CharSpan.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.11.0 (6.6.11.0)
Syntax
C#
public static implicit operator CharSpan (
	string str
)

Parameters

str
Type: System.String

Return Value

Type: CharSpan
See Also