Edit

Share via


StringExtensions.ToSafeString(Object) Method

Definition

Caution

Use value?.ToString() instead. This will be removed in the next release of the toolkit.

Returns a string representation of an object.

[System.Obsolete("Use value?.ToString() instead. This will be removed in the next release of the toolkit.")]
public static string ToSafeString(this object value);
[<System.Obsolete("Use value?.ToString() instead. This will be removed in the next release of the toolkit.")>]
static member ToSafeString : obj -> string
<Extension()>
Public Function ToSafeString (value As Object) As String

Parameters

value
Object

The object to convert.

Returns

String representation of the object.

Attributes

Applies to