TextDecorationCollectionConverter.ConvertTo 方法

定义

尝试将 TextDecorationCollection 的实例转换为指定类型。

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

参数

context
ITypeDescriptorContext

描述类型的上下文信息。

culture
CultureInfo

描述正在转换的类型的 CultureInfo

value
Object

要转换的 TextDecorationCollection 实例。

destinationType
Type

TextDecorationCollection 的此实例所转换为的类型。

返回

Object

由于无法将 TextDecorationCollection 转换为任何其他类型,因此始终会返回 null

属性

适用于