System::Runtime::Serialization::FormatterConverter::Convert method

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

RTTI information.

System::SharedPtr<Object> System::Runtime::Serialization::FormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type) override
ParameterTypeDescription
valueSystem::SharedPtr<Object>The object to be converted.
typeconst TypeInfo&The System::TypeInfo into which value is to be converted.

ReturnValue

The converted value.

Remarks

Converts a value to the given System::TypeInfo.

See Also

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

Converts a value to the given System::TypeCode.

System::SharedPtr<Object> System::Runtime::Serialization::FormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode) override
ParameterTypeDescription
valueSystem::SharedPtr<Object>The object to be converted.
typeCodeTypeCodeThe System::TypeCode into which value is to be converted.

ReturnValue

The converted value.

See Also