共用方式為


UserContextTypeConverter.ConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object)

這個方法不會使用 Visual Studio 的 SDK。將指定的值物件轉換成的說明內容物件藉由指定之格式內容。

命名空間:  Microsoft.VisualStudio.Modeling.Design
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

語法

'宣告
Public Overrides Function ConvertFrom ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object _
) As Object
public override Object ConvertFrom(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value
)

參數

傳回值

型別:System.Object
轉換的值。

.NET Framework 安全性

請參閱

參考

UserContextTypeConverter 類別

ConvertFrom 多載

Microsoft.VisualStudio.Modeling.Design 命名空間