Share via


HtmlFormattableString Constructors

Definition

Overloads

HtmlFormattableString(String, Object[])

Creates a new HtmlFormattableString with the given format and args.

HtmlFormattableString(IFormatProvider, String, Object[])

Creates a new HtmlFormattableString with the given formatProvider, format and args.

HtmlFormattableString(String, Object[])

Source:
HtmlFormattableString.cs
Source:
HtmlFormattableString.cs
Source:
HtmlFormattableString.cs

Creates a new HtmlFormattableString with the given format and args.

public:
 HtmlFormattableString(System::String ^ format, ... cli::array <System::Object ^> ^ args);
public HtmlFormattableString (string format, params object[] args);
public HtmlFormattableString (string format, params object?[] args);
new Microsoft.AspNetCore.Html.HtmlFormattableString : string * obj[] -> Microsoft.AspNetCore.Html.HtmlFormattableString
Public Sub New (format As String, ParamArray args As Object())

Parameters

format
String

A composite format string.

args
Object[]

An array that contains objects to format.

Applies to

HtmlFormattableString(IFormatProvider, String, Object[])

Source:
HtmlFormattableString.cs
Source:
HtmlFormattableString.cs
Source:
HtmlFormattableString.cs

Creates a new HtmlFormattableString with the given formatProvider, format and args.

public:
 HtmlFormattableString(IFormatProvider ^ formatProvider, System::String ^ format, ... cli::array <System::Object ^> ^ args);
public HtmlFormattableString (IFormatProvider formatProvider, string format, params object[] args);
public HtmlFormattableString (IFormatProvider? formatProvider, string format, params object[] args);
public HtmlFormattableString (IFormatProvider? formatProvider, string format, params object?[] args);
new Microsoft.AspNetCore.Html.HtmlFormattableString : IFormatProvider * string * obj[] -> Microsoft.AspNetCore.Html.HtmlFormattableString
Public Sub New (formatProvider As IFormatProvider, format As String, ParamArray args As Object())

Parameters

formatProvider
IFormatProvider

An object that provides culture-specific formatting information.

format
String

A composite format string.

args
Object[]

An array that contains objects to format.

Applies to