[This is preliminary documentation and is subject to change.]
Performs conversion from type TOther to type T
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
T ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, TOther value ) |
| Visual Basic |
|---|
Function ConvertFrom ( _ context As ITypeDescriptorContext, _ culture As CultureInfo, _ value As TOther _ ) As T |
| Visual C++ |
|---|
T ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, TOther value ) |
| F# |
|---|
abstract ConvertFrom : context:ITypeDescriptorContext * culture:CultureInfo * value:'TOther -> 'T |
| JScript |
|---|
function ConvertFrom( context : ITypeDescriptorContext, culture : CultureInfo, value : TOther ) : T |
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: TOther
Value to be converted to type T