Click or drag to resize

SharedExtensionsToStringT Method

LightningChart .NET Help
Converts an enum type value to string reading its description attribute.

Namespace:  Arction.Wpf.ChartingMVVM
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public static string ToString<T>(
	this T e
)
where T : IConvertible

Parameters

e
Type: T
Value to be converted to string

Type Parameters

T
Generic type

Return Value

Type: String
Description attribute of the enum value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also