System::Drawing::ImageFormatConverter::ConvertTo طريقة

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

يحول الكائن إلى نوع محدد.

SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
معاملنوعالوصف
contextconst SharedPtr<ComponentModel::ITypeDescriptorContext>&Object معلومات سياق التحويل.
الثقافةconst SharedPtr<Globalization::CultureInfo>&الثقافة المستخدمة عند تحويل الكائنات.
valueconst SharedPtr<Object>&Object للتحويل.
destinationTypeconst TypeInfo&نوع للتحويل إليه.

ReturnValue

الكائن المحول.

انظر أيضًا

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

يحول الكائن إلى نوع محدد.

virtual System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
معاملنوعالوصف
contextconst System::SharedPtr<ITypeDescriptorContext>&Object معلومات سياق التحويل.
الثقافةconst System::SharedPtr<System::Globalization::CultureInfo>&الثقافة المستخدمة عند تحويل الكائنات.
valueconst System::SharedPtr<System::Object>&Object للتحويل.
destinationTypeconst System::TypeInfo&نوع للتحويل إليه.

ReturnValue

الكائن المحول.

انظر أيضًا

ImageFormatConverter::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

الكائن المحول.

انظر أيضًا