GetFileNameWithoutExtension Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the file name of the specified path string without the extension.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Public Shared Function GetFileNameWithoutExtension ( _
	path As String _
) As String


Type: System..::..String
The path of the file.

Return Value

Type: System..::..String
The string returned by GetFileName, minus the last period (.) and all characters following it.

This method does not verify that the path or file name exists.