System::ComponentModel::TypeConverter クラス
コンテンツ
[
隠れる
]TypeConverter class
コンポーネントモデルで型変換を処理するクラスです。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してインスタンスを作成しないでください。そうしないと実行時エラーやアサーション違反が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数に引数として渡すようにしてください。
class TypeConverter : public System::Object
メソッド
| メソッド | 説明 |
|---|---|
| ConvertFrom(const System::SharedPtr<System::Object>&) | オブジェクトを変換します。 |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | オブジェクトを変換します。 |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | 文字列をオブジェクトに変換します。 |
| ConvertFromInvariantString(const System::String&) | 不変文字列をオブジェクトに変換します。 |
| ConvertFromInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | 不変文字列をオブジェクトに変換します。 |
| ConvertFromString(const System::String&) | 文字列をオブジェクトに変換します。 |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | 文字列をオブジェクトに変換します。 |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | 文字列をオブジェクトに変換します。 |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | オブジェクトを特定の型に変換します。 |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | オブジェクトを特定の型に変換します。 |
| ConvertToInvariantString(const System::SharedPtr<System::Object>&) | オブジェクトを不変文字列に変換します。 |
| ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | オブジェクトを不変文字列に変換します。 |
| ConvertToString(const System::SharedPtr<System::Object>&) | オブジェクトを文字列に変換します。 |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | オブジェクトを文字列に変換します。 |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | オブジェクトを文字列に変換します。 |
| TypeConverter() | RTTI 情報。 |
参照
- Class Object
- Namespace System::ComponentModel
- Library Aspose.Page for C++