Skip to content

Commit b4d3208

Browse files
authored
Fix #9966 - incorrect description of parameter 'searchPattern' (#9967)
1 parent 9c2e7b8 commit b4d3208

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.IO/Directory.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ The returned collection is not cached. Each call to the <xref:System.Collections
17181718
</Parameters>
17191719
<Docs>
17201720
<param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
1721-
<param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
1721+
<param name="searchPattern">The search string to match against the names of files and directories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
17221722
<param name="enumerationOptions">An object that describes the search and enumeration configuration to use.</param>
17231723
<summary>Returns an enumerable collection of file names and directory names that match a search pattern and enumeration options in a specified path.</summary>
17241724
<returns>An enumerable collection of file-system entries in the directory specified by <paramref name="path" />, that match the specified search pattern and the specified enumeration options.</returns>
@@ -3100,7 +3100,7 @@ The returned collection is not cached. Each call to the <xref:System.Collections
31003100
</Parameters>
31013101
<Docs>
31023102
<param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
3103-
<param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
3103+
<param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
31043104
<param name="enumerationOptions">An object that describes the search and enumeration configuration to use.</param>
31053105
<summary>Returns the names of files (including their paths) that match the specified search pattern and enumeration options in the specified directory.</summary>
31063106
<returns>An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and enumeration options, or an empty array if no files are found.</returns>
@@ -3404,7 +3404,7 @@ The returned collection is not cached. Each call to the <xref:System.Collections
34043404
</Parameters>
34053405
<Docs>
34063406
<param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
3407-
<param name="searchPattern">The search string to match against the names of file and directories in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
3407+
<param name="searchPattern">The search string to match against the names of files and directories in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
34083408
<summary>Returns an array of file names and directory names that match a search pattern in a specified path.</summary>
34093409
<returns>An array of file names and directory names that match the specified search criteria, or an empty array if no files or directories are found.</returns>
34103410
<remarks>
@@ -3507,7 +3507,7 @@ The returned collection is not cached. Each call to the <xref:System.Collections
35073507
</Parameters>
35083508
<Docs>
35093509
<param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
3510-
<param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
3510+
<param name="searchPattern">The search string to match against the names of files and directories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
35113511
<param name="enumerationOptions">An object that describes the search and enumeration configuration to use.</param>
35123512
<summary>Returns an array of file names and directory names that match a search pattern and enumeration options in a specified path.</summary>
35133513
<returns>An array of file names and directory names that match the specified search pattern and enumeration options, or an empty array if no files or directories are found.</returns>

0 commit comments

Comments
 (0)