'Declaration
Public Shared Function SafeFormat( _ ByVal formatProvider As IFormatProvider, _ ByVal format As String, _ ByVal ParamArray args() As Object _ ) As String
public static string SafeFormat( IFormatProvider formatProvider, string format, params object[] args )
Parameters
- formatProvider
- An IFormatProvider (such as a CultureInfo) to use, where applicable. (may be null, indicating the current culture)
- format
- The desired format string, as used by string.Format().
- args
- An array of args, as used by string.Format() after the format string.
Return Value
The formatted string, or an error string containing best-effort information.