Partajați prin


Extension.FormatWith(String, Object[]) Method

Definition

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

Applies to