Skip to content

Commit 514e781

Browse files
JeroenOortwijnRon Petrusha
andcommitted
Updated File.Create (#3061)
* Updated File.Create summaries Added missing buffer size information and made the wording of all four summaries the same. * Updated File.Create path parameter descriptions Also made the wording of all four path parameter descriptions the same. * Shortened the summary Co-Authored-By: Ron Petrusha <[email protected]> * Shortened the summary Co-Authored-By: Ron Petrusha <[email protected]>
1 parent 37b8a99 commit 514e781

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

xml/System.IO/File.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@
889889
<AssemblyVersion>4.1.0.0</AssemblyVersion>
890890
</AssemblyInfo>
891891
<Docs>
892-
<summary>Creates a file in the specified path.</summary>
892+
<summary>Creates or overwrites a file in the specified path.</summary>
893893
</Docs>
894894
</MemberGroup>
895895
<Member MemberName="Create">
@@ -1026,9 +1026,9 @@
10261026
<Parameter Name="bufferSize" Type="System.Int32" />
10271027
</Parameters>
10281028
<Docs>
1029-
<param name="path">The name of the file.</param>
1029+
<param name="path">The path and name of the file to create.</param>
10301030
<param name="bufferSize">The number of bytes buffered for reads and writes to the file.</param>
1031-
<summary>Creates or overwrites the specified file.</summary>
1031+
<summary>Creates or overwrites a file in the specified path, specifying a buffer size.</summary>
10321032
<returns>A <see cref="T:System.IO.FileStream" /> with the specified buffer size that provides read/write access to the file specified in <paramref name="path" />.</returns>
10331033
<remarks>
10341034
<format type="text/markdown"><![CDATA[
@@ -1120,10 +1120,10 @@
11201120
<Parameter Name="options" Type="System.IO.FileOptions" Index="2" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-1.3;netstandard-1.4;netstandard-1.6;netstandard-2.0;netstandard-2.1;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
11211121
</Parameters>
11221122
<Docs>
1123-
<param name="path">The name of the file.</param>
1123+
<param name="path">The path and name of the file to create.</param>
11241124
<param name="bufferSize">The number of bytes buffered for reads and writes to the file.</param>
11251125
<param name="options">One of the <see cref="T:System.IO.FileOptions" /> values that describes how to create or overwrite the file.</param>
1126-
<summary>Creates or overwrites the specified file, specifying a buffer size and a <see cref="T:System.IO.FileOptions" /> value that describes how to create or overwrite the file.</summary>
1126+
<summary>Creates or overwrites a file in the specified path, specifying a buffer size and options that describe how to create or overwrite the file.</summary>
11271127
<returns>A new file with the specified buffer size.</returns>
11281128
<remarks>
11291129
<format type="text/markdown"><![CDATA[
@@ -1189,11 +1189,11 @@
11891189
<Parameter Name="fileSecurity" Type="System.Security.AccessControl.FileSecurity" Index="3" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
11901190
</Parameters>
11911191
<Docs>
1192-
<param name="path">The name of the file.</param>
1192+
<param name="path">The path and name of the file to create.</param>
11931193
<param name="bufferSize">The number of bytes buffered for reads and writes to the file.</param>
11941194
<param name="options">One of the <see cref="T:System.IO.FileOptions" /> values that describes how to create or overwrite the file.</param>
11951195
<param name="fileSecurity">One of the <see cref="T:System.Security.AccessControl.FileSecurity" /> values that determines the access control and audit security for the file.</param>
1196-
<summary>Creates or overwrites the specified file with the specified buffer size, file options, and file security.</summary>
1196+
<summary>Creates or overwrites a file in the specified path, specifying a buffer size, options that describe how to create or overwrite the file, and a value that determines the access control and audit security for the file.</summary>
11971197
<returns>A new file with the specified buffer size, file options, and file security.</returns>
11981198
<remarks>
11991199
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)