System::ComponentModel::TypeConverter::ConvertFrom metod

TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) method

Konverterar objekt.

virtual System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value)
ParameterTypeBeskrivning
contextconst System::SharedPtr<ITypeDescriptorContext>&Object konverteringskontextinformation.
kulturconst System::SharedPtr<System::Globalization::CultureInfo>&Kultur att använda vid konvertering av objekt.
valueconst System::SharedPtr<System::Object>&Object att konvertera.

ReturnValue

konverterat objekt.

Se även

TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) method

Konverterar sträng till objekt.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::String &value)
ParameterTypeBeskrivning
contextconst System::SharedPtr<ITypeDescriptorContext>&Object konverteringskontextinformation.
kulturconst System::SharedPtr<System::Globalization::CultureInfo>&Kultur att använda vid konvertering av objekt.
valueconst System::String&Värde att konvertera.

ReturnValue

konverterat objekt.

Se även

TypeConverter::ConvertFrom(const System::SharedPtr<System::Object>&) method

Konverterar objekt.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<System::Object> &value)
ParameterTypeBeskrivning
valueconst System::SharedPtr<System::Object>&Object att konvertera.

ReturnValue

konverterat objekt.

Se även