Extension.FormatWith(String, 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.
Extension to support formating a string
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ FormatWith(System::String ^ format, ... cli::array <System::Object ^> ^ args);
public static string FormatWith (this string format, params object[] args);
static member FormatWith : string * obj[] -> string
<Extension()>
Public Function FormatWith (format As String, ParamArray args As Object()) As String
Parameters
- format
- String
Formatting pattern
- args
- Object[]
Argument collection
Returns
Formated String