System::ComponentModel::TypeConverter::ConvertFromString method

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

Converteert string naar object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::String &text)
ParameterTypeBeschrijving
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversiecontextinformatie.
cultuurconst System::SharedPtr<System::Globalization::CultureInfo>&Cultuur die gebruikt moet worden bij het converteren van objecten.
textconst System::String&Waarde om te converteren.

ReturnValue

geconverteerd object.

Zie ook

TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) method

Converteert string naar object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::String &text)
ParameterTypeBeschrijving
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversiecontextinformatie.
textconst System::String&Waarde om te converteren.

ReturnValue

geconverteerd object.

Zie ook

TypeConverter::ConvertFromString(const System::String&) method

Converteert string naar object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::String &text)
ParameterTypeBeschrijving
textconst System::String&Waarde om te converteren.

ReturnValue

geconverteerd object.

Zie ook