Changes the extension component of the specified path string.
A string containing the modified path information.
Platforms that do not support this feature return path unmodified.
Type Reason ArgumentException path contains one or more implementation-specific invalid characters.
The exact behavior of this method is implementation-specific. This method checks path for invalid characters as defined by the current platform and file system.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0