System::Runtime::Serialization::IFormatterConverter::Convert メソッド

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
パラメーター説明
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
パラメーター説明
valueSystem::SharedPtr<Object>変換対象のオブジェクト。
typeCodeTypeCode値が変換される対象の System::TypeCode

ReturnValue

変換後の値。

参照