Share via


LocalizedEnumConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Converts the localized enumerator from an object.

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Public Overrides Function ConvertFrom ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object _
) As Object
'Usage
Dim instance As LocalizedEnumConverter 
Dim context As ITypeDescriptorContext 
Dim culture As CultureInfo 
Dim value As Object 
Dim returnValue As Object 

returnValue = instance.ConvertFrom(context, _
    culture, value)
public override Object ConvertFrom(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value
)
public:
virtual Object^ ConvertFrom(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value
) override
abstract ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object  
override ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object
public override function ConvertFrom(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object
) : Object

Parameters

Return Value

Type: System.Object
The converted object.

See Also

Reference

LocalizedEnumConverter Class

ConvertFrom Overload

Microsoft.SqlServer.Dts.Design Namespace