System::ComponentModel::EnumConverter класс

EnumConverter class

Фиктивный класс для кода, использующего EnumConverter, чтобы он компилировался после перевода. Objects of this class should only be allocated using 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 EnumConverter : public System::ComponentModel::TypeConverter

Методы

МетодОписание
CanConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::TypeInfo&)Проверяет, могут ли типы быть преобразованы; не реализовано.
CanConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::TypeInfo&)Проверяет, могут ли типы быть преобразованы; не реализовано.
ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) overrideВыполняет фактическое преобразование типов; не реализовано.
ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) overrideВыполняет фактическое преобразование типов; не реализовано.
EnumConverter(const System::TypeInfo&)Информация RTTI.
get_EnumType()Получает тип перечисления, с которым работает EnumConverter; не реализовано.

См. также