ArcGIS Pro 2.7 API Reference Guide
MakeValueString Method
Example 

ArcGIS.Desktop.Core.Geoprocessing Namespace > Geoprocessing Class : MakeValueString Method
Converts an object to a string.
Converts a .Net object to string.
Syntax
public static string MakeValueString( 
   object arg
)
Public Shared Function MakeValueString( _
   ByVal arg As Object _
) As String

Parameters

arg
Converts an object to a string.

Return Value

A string representation of the .Net object
Example
var param_str = Geoprocessing.MakeValueString(geometry_object);
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Geoprocessing Class
Geoprocessing Members