Property NameWithoutExtension
NameWithoutExtension
Gets the file name without the extension.
Declaration
string NameWithoutExtension { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
The dot in the extension is also removed from the name. File names with no extension are returned without changes. File names with trailing dots will have the dot removed.