WebColorConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework 3.0
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Converts the specified object to a specified type.
Namespace: System.Web.UI.WebControlsAssembly: System.Web (in system.web.dll)
public: virtual Object^ ConvertTo ( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
public Object ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType )
public override function ConvertTo ( context : ITypeDescriptorContext, culture : CultureInfo, value : Object, destinationType : Type ) : Object
Not applicable.
Parameters
- context
An ITypeDescriptorContext instance that indicates the context of the object to convert.
- culture
A CultureInfo object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in a null reference (Nothing in Visual Basic) for this parameter.
- value
The object to convert.
- destinationType
The type to convert to.
Return Value
The object resulting from conversion.Community Additions
ADD
Show: