言語

FontStretchConverter.ConvertTo メソッド

定義

FontStretchのインスタンスを指定した型に変換しようとします。

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

変換する FontStretch のインスタンス。

destinationType
Type

FontStretchのこのインスタンスが変換される型。

返品

FontStretchの変換されたインスタンスから作成されたオブジェクト。

属性

例外

valuenull です

-又は-

value は次のインスタンスではありません FontStretch

-又は-

destinationType が有効な変換先の種類ではありません。

適用対象