ConvertToInvariantString()

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

Converts object to invariant string.

System::String System::ComponentModel::TypeConverter::ConvertToInvariantString(const System::SharedPtr<System::Object> &value)

Arguments

ParameterTypeDescription
valueconst System::SharedPtr<System::Object>&Object to convert.

Return Value

Converted object.

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

Converts object to invariant string.

System::String System::ComponentModel::TypeConverter::ConvertToInvariantString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Object> &value)

Arguments

ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
valueconst System::SharedPtr<System::Object>&Object to convert.

Return Value

Converted object.

See Also