System::Runtime::Serialization::FormatterConverter::Convert método

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

Información RTTI.

System::SharedPtr<Object> System::Runtime::Serialization::FormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type) override
ParámetroTipoDescripción
valueSystem::SharedPtr<Object>El objeto a convertir.
typeconst TypeInfo&El System::TypeInfo al que se debe convertir el valor.

ReturnValue

El valor convertido.

Observaciones

Convierte un valor al System::TypeInfo dado.

Ver también

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

Convierte un valor al System::TypeCode dado.

System::SharedPtr<Object> System::Runtime::Serialization::FormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode) override
ParámetroTipoDescripción
valueSystem::SharedPtr<Object>El objeto a convertir.
typeCodeTypeCodeEl System::TypeCode al que se debe convertir el valor.

ReturnValue

El valor convertido.

Ver también