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)
パラメーター説明
contextconst System::SharedPtr<ITypeDescriptorContext>&Object 変換コンテキスト情報。
カルチャconst System::SharedPtr<System::Globalization::CultureInfo>&オブジェクトを変換する際に使用するカルチャ。
textconst System::String&変換する値。

ReturnValue

変換されたオブジェクト。

参照

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)
パラメーター説明
contextconst System::SharedPtr<ITypeDescriptorContext>&Object 変換コンテキスト情報。
textconst System::String&変換する値。

ReturnValue

変換されたオブジェクト。

参照

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

文字列をオブジェクトに変換します。

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::String &text)
パラメーター説明
textconst System::String&変換する値。

ReturnValue

変換されたオブジェクト。

参照