System::Runtime::Serialization::IFormatterConverter::Convert metodo

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

Informazioni RTTI.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type)=0
ParametroTipoDescrizione
valoreSystem::SharedPtr<Object>L’oggetto da convertire.
typeconst TypeInfo&Il System::TypeInfo in cui il valore deve essere convertito.

ReturnValue

Il valore convertito.

Osservazioni

Converte un valore nel System::TypeInfo.

Vedi anche

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

Converte un valore nel System::TypeCode.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode)=0
ParametroTipoDescrizione
valoreSystem::SharedPtr<Object>L’oggetto da convertire.
typeCodeTypeCodeIl System::TypeCode in cui il valore deve essere convertito.

ReturnValue

Il valore convertito.

Vedi anche