Converts the given object to the type of this converter, using the specified context and culture information.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public override Object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, Object value ) |
Visual Basic |
---|
Public Overrides Function ConvertFrom ( context As ITypeDescriptorContext, culture As CultureInfo, value As Object ) As Object |
Parameters
- context
- Type: System.ComponentModel..::..ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- culture
- Type: System.Globalization..::..CultureInfo
The CultureInfo to use as the current culture.
- value
- Type: System..::..Object
The Object to convert.
Return Value
Type: ObjectAn Object that represents the converted value.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | The conversion cannot be performed. |