My.Computer.FileSystem.GetName Method
Visual Studio 2005
Parses the file name out of the path provided.
' Usage Dim value As String = My.Computer.FileSystem.GetFileName(path) ' Declaration Public Function GetFileName( _ ByVal path As String _ ) As String
Parameters
- path
-
Required. Path to be parsed. String.
Namespace: Microsoft.VisualBasic.MyServices
Class: FileSystemProxy (provides access to FileSystem)
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)
Availability by Project Type
| Project type | Available |
|---|---|
| Windows Application | Yes |
| Class Library | Yes |
| Console Application | Yes |
| Windows Control Library | Yes |
| Web Control Library | Yes |
| Windows Service | Yes |
| Web Site | Yes |