Visual Basic (Declaration) | |
---|---|
Public Overloads Overrides NotOverridable Function ConvertFrom( _ ByVal context As ITypeDescriptorContext, _ ByVal culture As CultureInfo, _ ByVal value As Object _ ) As Object |
C# | |
---|---|
public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value ) |
Parameters
- context
- An object that provides a format context.
- culture
- The System.Globalization.CultureInfo to use as the current culture.
- value
- The value to convert to the type of this converter.
Return Value
The converted value.Exception | Description |
---|---|
System.NotSupportedException | The conversion cannot be performed. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family