共用方式為


ConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object)

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

此成員會覆寫 EnumConverter. . :: . .ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

命名空間:  Microsoft.SqlServer.Dts.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
Public Overrides Function ConvertFrom ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object _
) As Object
'用途
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

傳回值

型別:System. . :: . .Object