StringBuilder.AppendInterpolatedStringHandler Constructors
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
StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder) |
Creates a handler used to append an interpolated string into a StringBuilder. |
StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder, IFormatProvider) |
Creates a handler used to translate an interpolated string into a String. |
StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder)
- Source:
- StringBuilder.cs
- Source:
- StringBuilder.cs
- Source:
- StringBuilder.cs
Creates a handler used to append an interpolated string into a StringBuilder.
public:
AppendInterpolatedStringHandler(int literalLength, int formattedCount, System::Text::StringBuilder ^ stringBuilder);
public AppendInterpolatedStringHandler (int literalLength, int formattedCount, System.Text.StringBuilder stringBuilder);
new System.Text.StringBuilder.AppendInterpolatedStringHandler : int * int * System.Text.StringBuilder -> System.Text.StringBuilder.AppendInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, stringBuilder As StringBuilder)
Parameters
- literalLength
- Int32
The number of constant characters outside of interpolation expressions in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- stringBuilder
- StringBuilder
The associated StringBuilder to which to append.
Remarks
This is intended to be called only by compiler-generated code. Arguments are not validated as they'd otherwise be for members intended to be used directly.
Applies to
StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder, IFormatProvider)
- Source:
- StringBuilder.cs
- Source:
- StringBuilder.cs
- Source:
- StringBuilder.cs
Creates a handler used to translate an interpolated string into a String.
public:
AppendInterpolatedStringHandler(int literalLength, int formattedCount, System::Text::StringBuilder ^ stringBuilder, IFormatProvider ^ provider);
public AppendInterpolatedStringHandler (int literalLength, int formattedCount, System.Text.StringBuilder stringBuilder, IFormatProvider? provider);
new System.Text.StringBuilder.AppendInterpolatedStringHandler : int * int * System.Text.StringBuilder * IFormatProvider -> System.Text.StringBuilder.AppendInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, stringBuilder As StringBuilder, provider As IFormatProvider)
Parameters
- literalLength
- Int32
The number of constant characters outside of interpolation expressions in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- stringBuilder
- StringBuilder
The associated StringBuilder to which to append.
- provider
- IFormatProvider
An object that supplies culture-specific formatting information.
Remarks
This is intended to be called only by compiler-generated code. Arguments are not validated as they'd otherwise be for members intended to be used directly.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示