[This is preliminary documentation and is subject to change.]

Performs conversion from type T to type TOther

Namespace: Tools.ComponentModelT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
TOther ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	T value
)
Visual Basic
Function ConvertTo ( _
	context As ITypeDescriptorContext, _
	culture As CultureInfo, _
	value As T _
) As TOther
Visual C++
TOther ConvertTo(
	ITypeDescriptorContext^ context, 
	CultureInfo^ culture, 
	T value
)
F#
abstract ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:'T -> 'TOther 
JScript
function ConvertTo(
	context : ITypeDescriptorContext, 
	culture : CultureInfo, 
	value : T
) : TOther

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.Globalization..::..CultureInfo
A CultureInfo. If null is passed, the current culture is assumed.
value
Type: T
Value to be converted

Return Value

Representation of value in type TOther

See Also