ConvertFromString()
Contents
[
Hide
]TypeConverter::ConvertFromString(const System::String&) method
Converts string to object.
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::String &text)
Arguments
Parameter | Type | Description |
---|---|---|
text | const System::String& | Value to convert. |
Return Value
converted object.
TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) method
Converts string to object.
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::String &text)
Arguments
Parameter | Type | Description |
---|---|---|
context | const System::SharedPtr<ITypeDescriptorContext>& | Object conversion context information. |
text | const System::String& | Value to convert. |
Return Value
converted object.
TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) method
Converts string to 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)
Arguments
Parameter | Type | Description |
---|---|---|
context | const System::SharedPtr<ITypeDescriptorContext>& | Object conversion context information. |
culture | const System::SharedPtr<System::Globalization::CultureInfo>& | Culture to use when converting objects. |
text | const System::String& | Value to convert. |
Return Value
converted object.
See Also
- Typedef SharedPtr
- Class Object
- Class String
- Class TypeConverter
- Class ITypeDescriptorContext
- Class CultureInfo
- Namespace System::ComponentModel
- Library Aspose.Slides