StringExtensions.ToSafeString(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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