Export (0) Print
Expand All

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.

Show:
© 2015 Microsoft