Click or drag to resize
DigitalRunePathChangeExtension Method
Changes the extension of a path string.

Namespace: DigitalRune.Storages
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static string ChangeExtension(
	string path,
	string extension
)

Parameters

path
Type: SystemString
The path information to modify.
extension
Type: SystemString
The new extension (with or without a leading period). Specify to remove an existing extension from path.

Return Value

Type: String
A string containing the modified path information.
See Also