classe System::ComponentModel::TypeConverter
Contenu
[
Cacher
]TypeConverter class
Classe qui gère la conversion de type dans le modèle de composants. Les objets de cette classe ne doivent être alloués qu’en utilisant la fonction System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class TypeConverter : public System::Object
Méthodes
| Méthode | Description |
|---|---|
| ConvertFrom(const System::SharedPtr<System::Object>&) | Convertit des objets. |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | Convertit des objets. |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | Convertit une chaîne en objet. |
| ConvertFromInvariantString(const System::String&) | Convertit une chaîne invariante en objet. |
| ConvertFromInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | Convertit une chaîne invariante en objet. |
| ConvertFromString(const System::String&) | Convertit une chaîne en objet. |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | Convertit une chaîne en objet. |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | Convertit une chaîne en objet. |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Convertit un objet en type spécifique. |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Convertit un objet en type spécifique. |
| ConvertToInvariantString(const System::SharedPtr<System::Object>&) | Convertit un objet en chaîne invariante. |
| ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | Convertit un objet en chaîne invariante. |
| ConvertToString(const System::SharedPtr<System::Object>&) | Convertit un objet en chaîne. |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | Convertit un objet en chaîne. |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | Convertit un objet en chaîne. |
| TypeConverter() | Informations RTTI. |
Voir aussi
- Class Object
- Namespace System::ComponentModel
- Library Aspose.Font for C++