.NET Framework Class Library
File.ExtFromFileName Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > File Class > File Methods > .NET Framework Class Library |
Retrieves the only 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 ExtFromFileName ( _ fullFileName As String _ |
C# |
|---|
public string ExtFromFileName( string fullFileName |
Visual C++ |
|---|
public: String^ ExtFromFileName( |
JavaScript |
|---|
function extFromFileName(fullFileName); |
Parameters
fullFileName
Type: System.String
full path file name
Return Value
A string containing the only extension of the file (without dot)
Remarks
See Also