ICustomFormatter.Format(String, Object, IFormatProvider) 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.
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
public:
System::String ^ Format(System::String ^ format, System::Object ^ arg, IFormatProvider ^ formatProvider);
public string Format(string format, object arg, IFormatProvider formatProvider);
public string Format(string? format, object? arg, IFormatProvider? formatProvider);
abstract member Format : string * obj * IFormatProvider -> string
Public Function Format (format As String, arg As Object, formatProvider As IFormatProvider) As String
Parameters
- format
- String
A format string containing formatting specifications.
- arg