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 のインスタンスの変換先の型。

戻り値

Object

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

属性

例外

valuenull です

  • または - valueFontStretch のインスタンスではありません

  • または - destinationType が有効な変換先の型でありません。

適用対象