System::Runtime::Serialization::IFormatterConverter::Convert méthode

IFormatterConverter::Convert(System::SharedPtr<Object>, const TypeInfo&) method

Informations RTTI.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type)=0
ParamètreTypeDescription
valeurSystem::SharedPtr<Object>L’objet à convertir.
typeconst TypeInfo&Le System::TypeInfo dans lequel la valeur doit être convertie.

ReturnValue

La valeur convertie.

Remarques

Convertit une valeur en le System::TypeInfo spécifié.

Voir aussi

IFormatterConverter::Convert(System::SharedPtr<Object>, TypeCode) method

Convertit une valeur en le System::TypeCode spécifié.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode)=0
ParamètreTypeDescription
valeurSystem::SharedPtr<Object>L’objet à convertir.
typeCodeTypeCodeLe System::TypeCode dans lequel la valeur doit être convertie.

ReturnValue

La valeur convertie.

Voir aussi