ArcFM Responder Mobile Developer Guide
ToString(Object,String) Method






A value to convert
The conversion value for null and DBNull values
DBNull and null aware conversion to string
Syntax
'Declaration
 
Public Overloads Shared Function ToString( _
   ByVal value As System.Object, _
   ByVal nullValue As System.String _
) As System.String
'Usage
 
Dim value As System.Object
Dim nullValue As System.String
Dim value As System.String
 
value = DbConvert.ToString(value, nullValue)
public static System.string ToString( 
   System.object value,
   System.string nullValue
)
public function ToString( 
    value: System.TObject;
    nullValue: System.String
): System.String; static; 
public static function ToString( 
   value : System.Object,
   nullValue : System.String
) : System.String;
public: static System.string* ToString( 
   System.Object* value,
   System.string* nullValue
) 
public:
static System.String^ ToString( 
   System.Object^ value,
   System.String^ nullValue
) 

Parameters

value
A value to convert
nullValue
The conversion value for null and DBNull values

Return Value

The string equivalent of the input value
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DbConvert Class
DbConvert Members
Overload List

Send Feedback