System::ComponentModel::TypeConverter::ConvertToString method

TypeConverter::ConvertToString(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) method

Converts object to string.

System::String System::ComponentModel::TypeConverter::ConvertToString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to use when converting objects.
valueconst System::SharedPtr<System::Object>&Object to convert.

ReturnValue

Converted object.

See Also

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

Converts object to string.

System::String System::ComponentModel::TypeConverter::ConvertToString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
valueconst System::SharedPtr<System::Object>&Object to convert.

ReturnValue

Converted object.

See Also

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

Converts object to string.

System::String System::ComponentModel::TypeConverter::ConvertToString(const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
valueconst System::SharedPtr<System::Object>&Object to convert.

ReturnValue

Converted object.

See Also