Udostępnij za pośrednictwem


StringFormattingExtensions.FormatForUser(String, Object[]) Method

Definition

Format string to be displayed.

public static string FormatForUser (this string format, params object[] args);
static member FormatForUser : string * obj[] -> string
<Extension()>
Public Function FormatForUser (format As String, ParamArray args As Object()) As String

Parameters

format
String

A composite format string.

args
Object[]

The object to format.

Returns

A copy of format in which the format item or items have been replaced by the string representation of arg0.

Applies to