System::Runtime::Serialization::IFormatterConverter::Convert method

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

معلومات RTTI.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, const TypeInfo &type)=0
ParameterTypeالوصف
valueSystem::SharedPtr<Object>الكائن المراد تحويله.
typeconst TypeInfo&الـ System::TypeInfo الذي سيُحوَّل إليه القيمة.

ReturnValue

القيمة المحوّلة.

ملاحظات

يحوّل قيمة إلى الـ System::TypeInfo.

انظر أيضًا

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

يحوّل قيمة إلى الـ System::TypeCode.

virtual System::SharedPtr<Object> System::Runtime::Serialization::IFormatterConverter::Convert(System::SharedPtr<Object> value, TypeCode typeCode)=0
ParameterTypeالوصف
valueSystem::SharedPtr<Object>الكائن المراد تحويله.
typeCodeTypeCodeالـ System::TypeCode التي سيتم تحويل القيمة إليها.

ReturnValue

القيمة المحوّلة.

انظر أيضًا