TagHelperContent.AppendFormat 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.
Overloads
AppendFormat(String, Object[]) |
Appends the specified |
AppendFormat(IFormatProvider, String, Object[]) |
Appends the specified |
AppendFormat(String, Object[])
- Source:
- TagHelperContent.cs
- 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
- format
- String
The composite format String (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx).
- 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
- 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.
- format
- String
The composite format String (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx).
- args
- Object[]
The object array to format.
Returns
A reference to this instance after the append operation has completed.