System::ComponentModel::TypeConverter::ConvertFromString 方法
内容
[
隐藏
]TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) method
将字符串转换为对象。
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::String &text)
| 参数 | 类型 | 描述 |
|---|---|---|
| context | const System::SharedPtr<ITypeDescriptorContext>& | Object 转换上下文信息。 |
| 文化 | const System::SharedPtr<System::Globalization::CultureInfo>& | 在转换对象时使用的区域性。 |
| 文本 | const System::String& | 要转换的值。 |
ReturnValue
已转换的对象。
另见
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class String
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.Font for C++
TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) method
将字符串转换为对象。
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::String &text)
| 参数 | 类型 | 描述 |
|---|---|---|
| context | const System::SharedPtr<ITypeDescriptorContext>& | Object 转换上下文信息。 |
| 文本 | const System::String& | 要转换的值。 |
ReturnValue
已转换的对象。
另见
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class String
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.Font for C++
TypeConverter::ConvertFromString(const System::String&) method
将字符串转换为对象。
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::String &text)
| 参数 | 类型 | 描述 |
|---|---|---|
| 文本 | const System::String& | 要转换的值。 |
ReturnValue
已转换的对象。
另见
- Typedef SharedPtr
- Class Object
- Class String
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.Font for C++