System::ComponentModel::TypeConverter class

TypeConverter class

Component modelinde tür dönüşümünü yöneten sınıf. Bu sınıfın nesneleri yalnızca System::MakeObject() işlevi kullanılarak allocate edilmelidir. Bu tipin örneğini yığına (stack) ya da operator new ile asla oluşturmayın, çünkü çalışma zamanı hatalarına ve/veya doğrulama hatalarına yol açar. Bu sınıfı her zaman System::SmartPtr işaretçisiyle sarmalayın ve bu işaretçiyi fonksiyonlara argüman olarak geçirin.

class TypeConverter : public System::Object

Yöntemler

YöntemAçıklama
ConvertFrom(const System::SharedPtr<System::Object>&)Nesneleri dönüştürür.
virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&)Nesneleri dönüştürür.
ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&)Dizgiyi nesneye dönüştürür.
ConvertFromInvariantString(const System::String&)Değişmez dizeyi nesneye dönüştürür.
ConvertFromInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&)Değişmez dizeyi nesneye dönüştürür.
ConvertFromString(const System::String&)Dizgiyi nesneye dönüştürür.
ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&)Dizgiyi nesneye dönüştürür.
ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&)Dizgiyi nesneye dönüştürür.
ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&)Nesneyi belirli bir tipe dönüştürür.
virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&)Nesneyi belirli bir tipe dönüştürür.
ConvertToInvariantString(const System::SharedPtr<System::Object>&)Nesneyi değişmez dizeye dönüştürür.
ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&)Nesneyi değişmez dizeye dönüştürür.
ConvertToString(const System::SharedPtr<System::Object>&)Nesneyi dizeye dönüştürür.
ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&)Nesneyi dizeye dönüştürür.
ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&)Nesneyi dizeye dönüştürür.
TypeConverter()RTTI bilgisi.

Ayrıca Bakınız