System::ComponentModel::TypeConverter class
Contenuti
[
Nascondere
]TypeConverter class
Classe che gestisce la conversione di tipo nel modello di componenti. Gli oggetti di questa classe devono essere allocati solo utilizzando la funzione System::MakeObject(). Non creare mai un’istanza di questo tipo sullo stack o usando l’operatore new, poiché ciò provocherà errori di runtime e/o fault di asserzione. Avvolgere sempre questa classe in un puntatore System::SmartPtr e utilizzare tale puntatore per passarla alle funzioni come argomento.
class TypeConverter : public System::Object
Metodi
| Metodo | Descrizione |
|---|---|
| ConvertFrom(const System::SharedPtr<System::Object>&) | Converte gli oggetti. |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | Converte gli oggetti. |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | Converte una stringa in un oggetto. |
| ConvertFromInvariantString(const System::String&) | Converte una stringa invariata in un oggetto. |
| ConvertFromInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | Converte una stringa invariata in un oggetto. |
| ConvertFromString(const System::String&) | Converte una stringa in un oggetto. |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) | Converte una stringa in un oggetto. |
| ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | Converte una stringa in un oggetto. |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Converte l’oggetto in un tipo specifico. |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Converte l’oggetto in un tipo specifico. |
| ConvertToInvariantString(const System::SharedPtr<System::Object>&) | Converte un oggetto in una stringa invariata. |
| ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | Converte un oggetto in una stringa invariata. |
| ConvertToString(const System::SharedPtr<System::Object>&) | Converte un oggetto in una stringa. |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) | Converte un oggetto in una stringa. |
| ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | Converte un oggetto in una stringa. |
| TypeConverter() | Informazioni RTTI. |
Vedi anche
- Class Object
- Namespace System::ComponentModel
- Library Aspose.Font for C++