Skip to content

Commit f2e399d

Browse files
barnsonBillWagner
authored andcommitted
Note that Path.GetExtension returns leading period (#2349)
1 parent db8754e commit f2e399d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.IO/Path.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ This method obtains the extension of `path` by searching `path` for a period (".
808808
</Parameters>
809809
<Docs>
810810
<param name="path">The path string from which to get the extension.</param>
811-
<summary>Returns the extension of the specified path string.</summary>
811+
<summary>Returns the extension (including the period ".") of the specified path string.</summary>
812812
<returns>The extension of the specified path (including the period "."), or <see langword="null" />, or <see cref="F:System.String.Empty" />. If <paramref name="path" /> is <see langword="null" />, <see cref="M:System.IO.Path.GetExtension(System.String)" /> returns <see langword="null" />. If <paramref name="path" /> does not have extension information, <see cref="M:System.IO.Path.GetExtension(System.String)" /> returns <see cref="F:System.String.Empty" />.</returns>
813813
<remarks>
814814
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)