PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Enum­Formatter(T) Class / Enum­Formatter(T) Methods / Enum­Formatter(T).​Get­String Method

EnumFormatter<T>.GetString Method

Returns the string value of the given enum value.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static string GetString(
	T value
)

Parameters

value
Type: T

Return Value

Type: String
See Also