Dela via


BaseEnumStringConverter<T>.ConvertFromEnumToString Method

Converts the specified enum value to a string that is representative of this enum value.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Protected MustOverride Function ConvertFromEnumToString ( _
    value As T _
) As String
protected abstract string ConvertFromEnumToString(
    T value
)
protected:
virtual String^ ConvertFromEnumToString(
    T value
) abstract
abstract ConvertFromEnumToString : 
        value:'T -> string 
protected abstract function ConvertFromEnumToString(
    value : T
) : String

Parameters

  • value
    Type: T
    The enum value to convert.

Return Value

Type: System.String
A string representation of the specified enum value.

.NET Framework Security

See Also

Reference

BaseEnumStringConverter<T> Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace