共用方式為


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

一定會傳回 null,因為 TextDecorationCollection 無法轉換成任何其他型別。

屬性

適用於