You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="chars">The span containing the set of characters to encode.</param>
1852
+
<paramname="bytes">The byte span to hold the encoded bytes.</param>
1853
+
<paramname="bytesWritten">Upon successful completion of the operation, the number of bytes encoded into <paramrefname="bytes" />.</param>
1854
+
<summary>Encodes into a span of bytes a set of characters from the specified read-only span if the destination is large enough.</summary>
1855
+
<returns>
1856
+
<seelangword="true" /> if all of the characters were encoded into the destination; <seelangword="false" /> if the destination was too small to contain all the encoded bytes.</returns>
<paramname="bytes">A read-only span containing the sequence of bytes to decode.</param>
1890
+
<paramname="chars">The character span receiving the decoded bytes.</param>
1891
+
<paramname="charsWritten">Upon successful completion of the operation, the number of chars decoded into <paramrefname="chars" />.</param>
1892
+
<summary>Decodes into a span of chars a set of bytes from the specified read-only span if the destination is large enough.</summary>
1893
+
<returns>
1894
+
<seelangword="true" /> if all of the characters were decoded into the destination; <seelangword="false" /> if the destination was too small to contain all the decoded chars.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
73
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
74
+
<summary>Determines whether the provided buffers contain equal ASCII characters.</summary>
75
+
<returns>
76
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal and ASCII; <seelangword="false" /> otherwise.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
103
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
104
+
<summary>Determines whether the provided buffers contain equal ASCII characters.</summary>
105
+
<returns>
106
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal and ASCII; <seelangword="false" /> otherwise.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
133
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
134
+
<summary>Determines whether the provided buffers contain equal ASCII characters.</summary>
135
+
<returns>
136
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal and ASCII; <seelangword="false" /> otherwise.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
192
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
193
+
<summary>Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.</summary>
194
+
<returns>
195
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal ignoring case considerations and ASCII; <seelangword="false" /> otherwise.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
222
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
223
+
<summary>Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.</summary>
224
+
<returns>
225
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal ignoring case considerations and ASCII; <seelangword="false" /> otherwise.</returns>
<paramname="left">The buffer to compare with <paramrefname="right" />.</param>
252
+
<paramname="right">The buffer to compare with <paramrefname="left" />.</param>
253
+
<summary>Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.</summary>
254
+
<returns>
255
+
<seelangword="true" /> if the corresponding elements in <paramrefname="left" /> and <paramrefname="right" /> are equal ignoring case considerations and ASCII; <seelangword="false" /> otherwise.</returns>
Copy file name to clipboardExpand all lines: xml/System.Text/StringBuilder.xml
+55-35Lines changed: 55 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -2690,11 +2690,21 @@ The following example shows how to call many of the methods defined by the <xref
2690
2690
</Parameter>
2691
2691
</Parameters>
2692
2692
<Docs>
2693
-
<param name="format">To be added.</param>
2694
-
<param name="args">To be added.</param>
2695
-
<summary>To be added.</summary>
2696
-
<returns>To be added.</returns>
2693
+
<param name="format">A composite format string.</param>
2694
+
<param name="args">A span of objects to format.</param>
2695
+
<summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
2696
+
Each format item is replaced by the string representation of a corresponding argument in a parameter span.</summary>
2697
+
<returns>A reference to this instance after the append operation has completed.</returns>
2697
2698
<remarks>To be added.</remarks>
2699
+
<exception cref="T:System.ArgumentNullException">
2700
+
<paramref name="format" /> is <see langword="null" />.</exception>
2701
+
<exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
2702
+
<exception cref="T:System.FormatException">
2703
+
<paramref name="format" /> is invalid.
2704
+
2705
+
-or-
2706
+
2707
+
The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="args" /> span.</exception>
2698
2708
</Docs>
2699
2709
</Member>
2700
2710
<Member MemberName="AppendFormat">
@@ -3050,12 +3060,22 @@ The following example shows how to call many of the methods defined by the <xref
3050
3060
</Parameter>
3051
3061
</Parameters>
3052
3062
<Docs>
3053
-
<param name="provider">To be added.</param>
3054
-
<param name="format">To be added.</param>
3055
-
<param name="args">To be added.</param>
3056
-
<summary>To be added.</summary>
3057
-
<returns>To be added.</returns>
3063
+
<param name="provider">An object that supplies culture-specific formatting information.</param>
3064
+
<param name="format">A composite format string.</param>
3065
+
<param name="args">A span of objects to format.</param>
3066
+
<summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
3067
+
Each format item is replaced by the string representation of a corresponding argument in a parameter span using a specified format provider.</summary>
3068
+
<returns>A reference to this instance after the append operation has completed.</returns>
3058
3069
<remarks>To be added.</remarks>
3070
+
<exception cref="T:System.ArgumentNullException">
3071
+
<paramref name="format" /> is <see langword="null" />.</exception>
3072
+
<exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
3073
+
<exception cref="T:System.FormatException">
3074
+
<paramref name="format" /> is invalid.
3075
+
3076
+
-or-
3077
+
3078
+
The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="args" /> span.</exception>
3059
3079
</Docs>
3060
3080
</Member>
3061
3081
<Member MemberName="AppendFormat">
@@ -4016,10 +4036,10 @@ The following example shows how to call many of the methods defined by the <xref
4016
4036
</Parameter>
4017
4037
</Parameters>
4018
4038
<Docs>
4019
-
<param name="separator">To be added.</param>
4020
-
<param name="values">To be added.</param>
4021
-
<summary>To be added.</summary>
4022
-
<returns>To be added.</returns>
4039
+
<param name="separator">The character to use as a separator. <paramref name="separator" /> is included in the joined strings only if <paramref name="values" /> has more than one element.</param>
4040
+
<param name="values">A span that contains the strings to concatenate and append to the current instance of the string builder.</param>
4041
+
<summary>Concatenates the string representations of the elements in the provided span of objects, using the specified char separator between each member, then appends the result to the current instance of the string builder.</summary>
4042
+
<returns>A reference to this instance after the append operation has completed.</returns>
4023
4043
<remarks>To be added.</remarks>
4024
4044
</Docs>
4025
4045
</Member>
@@ -4064,10 +4084,10 @@ The following example shows how to call many of the methods defined by the <xref
4064
4084
</Parameter>
4065
4085
</Parameters>
4066
4086
<Docs>
4067
-
<param name="separator">To be added.</param>
4068
-
<param name="values">To be added.</param>
4069
-
<summary>To be added.</summary>
4070
-
<returns>To be added.</returns>
4087
+
<param name="separator">The character to use as a separator. <paramref name="separator" /> is included in the joined strings only if <paramref name="values" /> has more than one element.</param>
4088
+
<param name="values">A span that contains the strings to concatenate and append to the current instance of the string builder.</param>
4089
+
<summary>Concatenates the strings of the provided span, using the specified char separator between each string, then appends the result to the current instance of the string builder.</summary>
4090
+
<returns>A reference to this instance after the append operation has completed.</returns>
4071
4091
<remarks>To be added.</remarks>
4072
4092
</Docs>
4073
4093
</Member>
@@ -4232,10 +4252,10 @@ The following example shows how to call many of the methods defined by the <xref
4232
4252
</Parameter>
4233
4253
</Parameters>
4234
4254
<Docs>
4235
-
<param name="separator">To be added.</param>
4236
-
<param name="values">To be added.</param>
4237
-
<summary>To be added.</summary>
4238
-
<returns>To be added.</returns>
4255
+
<param name="separator">The string to use as a separator. <paramref name="separator" /> is included in the joined strings only if <paramref name="values" /> has more than one element.</param>
4256
+
<param name="values">A span that contains the strings to concatenate and append to the current instance of the string builder.</param>
4257
+
<summary>Concatenates the string representations of the elements in the provided span of objects, using the specified separator between each member, then appends the result to the current instance of the string builder.</summary>
4258
+
<returns>A reference to this instance after the append operation has completed.</returns>
4239
4259
<remarks>To be added.</remarks>
4240
4260
</Docs>
4241
4261
</Member>
@@ -4287,10 +4307,10 @@ The following example shows how to call many of the methods defined by the <xref
4287
4307
</Parameter>
4288
4308
</Parameters>
4289
4309
<Docs>
4290
-
<param name="separator">To be added.</param>
4291
-
<param name="values">To be added.</param>
4292
-
<summary>To be added.</summary>
4293
-
<returns>To be added.</returns>
4310
+
<param name="separator">The string to use as a separator. <paramref name="separator" /> is included in the joined strings only if <paramref name="values" /> has more than one element.</param>
4311
+
<param name="values">A span that contains the strings to concatenate and append to the current instance of the string builder.</param>
4312
+
<summary>Concatenates the strings of the provided span, using the specified separator between each string, then appends the result to the current instance of the string builder.</summary>
4313
+
<returns>A reference to this instance after the append operation has completed.</returns>
4294
4314
<remarks>To be added.</remarks>
4295
4315
</Docs>
4296
4316
</Member>
@@ -7012,11 +7032,11 @@ In .NET Core and in the .NET Framework 4.0 and later versions, when you instanti
0 commit comments