HslColorConverter.ConvertTo 方法 (ITypeDescriptorContext, CultureInfo, Object, Type)

使用指定的上下文和区域性信息将给定的值对象转换为指定的类型。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

声明
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
public override Object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value,
    Type destinationType
)

参数

  • destinationType
    类型:System.Type
    转换值参数的类型。

返回值

类型:System.Object

.NET Framework 安全性

请参见

参考

HslColorConverter 类

ConvertTo 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间