Changes the extension component of the specified path string.
[Edit]
Parameters
- path
- A string containing the path information to modify.
[Edit]
- extension
- A string containing the new extension. Specify null to remove an existing extension from path.
[Edit]
Returns
A string
containing the modified path information.
Platforms that do not support this feature
return path unmodified.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0