Método System::Runtime::Serialization::IFormatterConverter::Convert

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

Información RTTI.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type)=0
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

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

Convierte un valor al System::TypeCode dado.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode)=0
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