Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
Collapse the table of content
Expand the table of content

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