SharedExtensionsToStringT Method |
LightningChart .NET Help
Converts an enum type value to string reading its description attribute.
Namespace:
Arction.WinForms.Charting
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static string ToString<T>(
this T e
)
where T : IConvertible
<ExtensionAttribute>
Public Shared Function ToString(Of T As IConvertible) (
e As T
) As String
public:
[ExtensionAttribute]
generic<typename T>
where T : IConvertible
static String^ ToString(
T e
)
Parameters
- e
- Type: T
Value to be converted to string
Type Parameters
- T
- Generic type
Return Value
Type:
StringDescription 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