Skip to content

Commit ed108bc

Browse files
carlossanlopBillWagner
authored andcommitted
Document System.DateTime.ParseExact method overloads that receive Spans (#3438)
1 parent 02b0606 commit ed108bc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

xml/System/DateTime.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,12 +5405,12 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
54055405
<Parameter Name="style" Type="System.Globalization.DateTimeStyles" Index="3" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
54065406
</Parameters>
54075407
<Docs>
5408-
<param name="s">To be added.</param>
5409-
<param name="format">To be added.</param>
5410-
<param name="provider">To be added.</param>
5411-
<param name="style">To be added.</param>
5412-
<summary>To be added.</summary>
5413-
<returns>To be added.</returns>
5408+
<param name="s">A span containing the characters that represent a date and time to convert.</param>
5409+
<param name="format">A span containing the characters that represent a format specifier that defines the required format of <paramref name="s" />.</param>
5410+
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />.</param>
5411+
<param name="style">A bitwise combination of the enumeration values that provides additional information about <paramref name="s" />, about style elements that may be present in <paramref name="s" />, or about the conversion from <paramref name="s" /> to a <see cref="T:System.DateTime" /> value. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
5412+
<summary>Converts the specified span representation of a date and time to its <see cref="T:System.DateTime" /> equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly or an exception is thrown.</summary>
5413+
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="format" />, <paramref name="provider" />, and <paramref name="style" />.</returns>
54145414
<remarks>To be added.</remarks>
54155415
</Docs>
54165416
</Member>
@@ -5442,12 +5442,12 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
54425442
<Parameter Name="style" Type="System.Globalization.DateTimeStyles" Index="3" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
54435443
</Parameters>
54445444
<Docs>
5445-
<param name="s">To be added.</param>
5446-
<param name="formats">To be added.</param>
5447-
<param name="provider">To be added.</param>
5448-
<param name="style">To be added.</param>
5449-
<summary>To be added.</summary>
5450-
<returns>To be added.</returns>
5445+
<param name="s">A span containing the characters that represent a date and time to convert.</param>
5446+
<param name="formats">An array of allowable formats of <paramref name="s" />.</param>
5447+
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />.</param>
5448+
<param name="style">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
5449+
<summary>Converts the specified span representation of a date and time to its <see cref="T:System.DateTime" /> equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.</summary>
5450+
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="formats" />, <paramref name="provider" />, and <paramref name="style" />.</returns>
54515451
<remarks>To be added.</remarks>
54525452
</Docs>
54535453
</Member>

0 commit comments

Comments
 (0)