.NET Framework Class Library
File.FileNameNoExt Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > File Class > File Methods > .NET Framework Class Library |
Retrieves the file name without extension from the file name
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function FileNameNoExt ( _ fileName As String, _ |
C# |
|---|
public string FileNameNoExt( string fileName, |
Visual C++ |
|---|
public: String^ FileNameNoExt( |
JavaScript |
|---|
function fileNameNoExt(fileName, withoutDot); |
Parameters
fileName
Type: System.String
name of the file
withoutDot (Optional)
Type: System.Boolean
Optional. If TRUE without dot, FALSE otherwise
Return Value
A string containing the file name of the document without extension
Remarks
See Also