System::Drawing::ImageConverter::ConvertTo メソッド

ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

オブジェクトを特定の型に変換します。

System::SharedPtr<System::Object> System::Drawing::ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType) override
パラメーター説明
contextconst System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&Object 変換コンテキスト情報
カルチャconst System::SharedPtr<System::Globalization::CultureInfo>&オブジェクトを変換する際に使用するカルチャ
valueconst System::SharedPtr<System::Object>&変換対象のオブジェクト。
destinationTypeconst System::TypeInfo&変換先の型。

ReturnValue

変換されたオブジェクト。

参照

ImageConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

オブジェクトを特定の型に変換します。

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
パラメーター説明
valueconst System::SharedPtr<System::Object>&Object を変換する。
destinationTypeconst System::TypeInfo&変換先の型。

ReturnValue

変換されたオブジェクト。

参照