- context
- A System.ComponentModel.TypeConverter that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
- culture
- A System.Globalization.CultureInfo that specifies the culture to represent the color.
- value
- The object to convert.
Visual Basic (Declaration) | |
---|---|
Overloads Overrides Public Function ConvertFrom( _ ByVal context As ITypeDescriptorContext, _ ByVal culture As CultureInfo, _ ByVal value As Object _ ) As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterColorTypeConverter Dim context As ITypeDescriptorContext Dim culture As CultureInfo Dim value As Object Dim value As Object value = instance.ConvertFrom(context, culture, value) |
C# | |
---|---|
public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value ) |
C++/CLI | |
---|---|
public: Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override |
Parameters
- context
- A System.ComponentModel.TypeConverter that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
- culture
- A System.Globalization.CultureInfo that specifies the culture to represent the color.
- value
- The object to convert.
Return Value
An System.Object representing the converted value.For more information, refer to TypeConverter.ConvertFrom
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7