TagHelperContent.AppendFormat Method

Definition

Overloads

AppendFormat(String, Object[])

Appends the specified format to the existing content after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

AppendFormat(IFormatProvider, String, Object[])

Appends the specified format to the existing content with information from the provider after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

AppendFormat(String, Object[])

Source:
TagHelperContent.cs
Source:
TagHelperContent.cs

Appends the specified format to the existing content after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

public:
 Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendFormat(System::String ^ format, ... cli::array <System::Object ^> ^ args);
public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendFormat (string format, params object[] args);
member this.AppendFormat : string * obj[] -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public Function AppendFormat (format As String, ParamArray args As Object()) As TagHelperContent

Parameters

args
Object[]

The object array to format.

Returns

A reference to this instance after the append operation has completed.

Applies to

AppendFormat(IFormatProvider, String, Object[])

Source:
TagHelperContent.cs
Source:
TagHelperContent.cs

Appends the specified format to the existing content with information from the provider after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

public:
 Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendFormat(IFormatProvider ^ provider, System::String ^ format, ... cli::array <System::Object ^> ^ args);
public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendFormat (IFormatProvider provider, string format, params object[] args);
member this.AppendFormat : IFormatProvider * string * obj[] -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public Function AppendFormat (provider As IFormatProvider, format As String, ParamArray args As Object()) As TagHelperContent

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

args
Object[]

The object array to format.

Returns

A reference to this instance after the append operation has completed.

Applies to