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
`Path_HasExtension` determines whether a path includes a file name extension.
4
+
5
+
```csharp
6
+
Path_HasExtension (
7
+
@pathNVARCHAR (4000)
8
+
)
9
+
RETURNSNVARCHAR (4000)
10
+
```
11
+
12
+
## Parameters
13
+
14
+
-**path**: The path to search for an extension.
15
+
16
+
## Returns
17
+
18
+
`true` if the characters that follow the last directory separator (\\ or /) or volume separator (:) in the path include a period (.) followed by one or more characters; otherwise, `false`.
Copy file name to clipboardExpand all lines: docs2/pages/documentations/path/path.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,3 +15,5 @@ Performs operations on string instances that contain file or directory path info
15
15
|[Path_GetRandomFileName()](/path-get-random-file-name)| Returns a random folder name or file name. |[Try it]()|
16
16
|[Path_GetTempFileName()](/path-get-temp-file-name)| Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. |[Try it]()|
17
17
|[Path_GetTempPath()](/path-get-temp-path)| Returns the path of the current user's temporary folder. |[Try it]()|
18
+
|[Path_GetFileName(path)](/path-get-file-name)| Returns the file name and extension of the specified path string. |[Try it]()|
19
+
|[Path_HasExtension(path)](/path-get-has-extension)| Determines whether a path includes a file name extension. |[Try it]()|
0 commit comments