Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BaseEnumStringConverter<T> Class

 

Helper class that helps with conversions between enum values and strings.

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


public abstract class BaseEnumStringConverter<T> : StringConverter

NameDescription
System_CAPS_protmethodBaseEnumStringConverter<T>()

Initializes a new instance of the BaseEnumStringConverter<T> class.

NameDescription
System_CAPS_pubmethodCanConvertFrom(ITypeDescriptorContext, Type)

Gets a value that indicates whether this converter can convert an object in the given source type to a string that uses the specified context.(Overrides StringConverter.CanConvertFrom(ITypeDescriptorContext, Type).)

System_CAPS_pubmethodCanConvertFrom(Type)

(Inherited from TypeConverter.)

System_CAPS_pubmethodCanConvertTo(ITypeDescriptorContext, Type)

Returns a value that indicates whether this converter can convert the object to the specified type.(Overrides TypeConverter.CanConvertTo(ITypeDescriptorContext, Type).)

System_CAPS_pubmethodCanConvertTo(Type)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the specified object to the type of this converter by using the specified context and culture information.(Overrides StringConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object).)

System_CAPS_pubmethodConvertFrom(Object)

(Inherited from TypeConverter.)

System_CAPS_protmethodConvertFromEnumToString(T)

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

System_CAPS_pubmethodConvertFromInvariantString(ITypeDescriptorContext, String)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertFromInvariantString(String)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertFromString(ITypeDescriptorContext, CultureInfo, String)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertFromString(ITypeDescriptorContext, String)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertFromString(String)

(Inherited from TypeConverter.)

System_CAPS_protmethodConvertFromStringToEnum(String)

Converts the specified string to a corresponding enum value.

System_CAPS_pubmethodConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the specified value object to the specified type by using the specified context and culture information.(Overrides TypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).)

System_CAPS_pubmethodConvertTo(Object, Type)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertToInvariantString(ITypeDescriptorContext, Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertToInvariantString(Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertToString(ITypeDescriptorContext, CultureInfo, Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertToString(ITypeDescriptorContext, Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodConvertToString(Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodCreateInstance(IDictionary)

(Inherited from TypeConverter.)

System_CAPS_pubmethodCreateInstance(ITypeDescriptorContext, IDictionary)

(Inherited from TypeConverter.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetConvertFromException(Object)

(Inherited from TypeConverter.)

System_CAPS_protmethodGetConvertToException(Object, Type)

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetCreateInstanceSupported()

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetCreateInstanceSupported(ITypeDescriptorContext)

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetProperties(ITypeDescriptorContext, Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetProperties(ITypeDescriptorContext, Object, Attribute[])

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetProperties(Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetPropertiesSupported()

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetPropertiesSupported(ITypeDescriptorContext)

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetStandardValues()

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetStandardValues(ITypeDescriptorContext)

Returns a collection of standard values for the data type for which this type converter is designed by using the provided format context.(Overrides TypeConverter.GetStandardValues(ITypeDescriptorContext).)

System_CAPS_pubmethodGetStandardValuesExclusive()

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetStandardValuesExclusive(ITypeDescriptorContext)

Returns a value that indicates whether the collection of standard values that is returned from GetStandardValues is an exclusive list of possible values by using the specified context.(Overrides TypeConverter.GetStandardValuesExclusive(ITypeDescriptorContext).)

System_CAPS_pubmethodGetStandardValuesSupported()

(Inherited from TypeConverter.)

System_CAPS_pubmethodGetStandardValuesSupported(ITypeDescriptorContext)

Returns a value that indicates whether this object supports a standard set of values that can be picked from a list by using the specified context.(Overrides TypeConverter.GetStandardValuesSupported(ITypeDescriptorContext).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValid(ITypeDescriptorContext, Object)

(Inherited from TypeConverter.)

System_CAPS_pubmethodIsValid(Object)

(Inherited from TypeConverter.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodPopulateStandardValues()

Returns a string array that has the string representation of all possible enum values.

System_CAPS_protmethodSortProperties(PropertyDescriptorCollection, String[])

(Inherited from TypeConverter.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: