System::ComponentModel::TypeConverter::ConvertToInvariantString 方法

TypeConverter::ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Object>&) method

将对象转换为不变字符串。

System::String System::ComponentModel::TypeConverter::ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Object> &value)
参数类型描述
contextconst System::SharedPtr<ITypeDescriptorContext>&Object 转换上下文信息。
valueconst System::SharedPtr<System::Object>&Object 要转换的。

ReturnValue

已转换的对象。

另见

TypeConverter::ConvertToInvariantString(const System::SharedPtr<System::Object>&) method

将对象转换为不变字符串。

System::String System::ComponentModel::TypeConverter::ConvertToInvariantString(const System::SharedPtr<System::Object> &value)
参数类型描述
valueconst System::SharedPtr<System::Object>&Object 要转换的。

ReturnValue

已转换的对象。

另见