MobileTypeNameConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
.NET Framework (current version)
Converts the given object to the type of this converter, using the specified context and culture information. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public override object ConvertFrom( ITypeDescriptorContext ctx, CultureInfo ci, object data )
Parameters
- ctx
-
Type:
System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- ci
-
Type:
System.Globalization.CultureInfo
The CultureInfo to use as the current culture.
- data
-
Type:
System.Object
The Object to convert.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | Calling GetType on data returns null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: