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>.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

 

Converts the specified value object to the specified type by using the specified context and culture information.

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

public override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture
Type: System.Globalization.CultureInfo

The T:System.Globalization.CultureInfo to use as the current culture.

value
Type: System.Object

The Object to convert.

destinationType
Type: System.Type

The Type to which to convert the value parameter.

Return Value

Type: System.Object

An Object that represents the converted value.

Return to top
Show: