ChangeExtension(FileInfo, string) Method

Changes the extension of a @this string.
Namespace: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static string ChangeExtension(this FileInfo this, string extension)

Parameters

this
Type:  FileInfo
The @this information to modify. The @this cannot contain any of the characters defined in .
extension
Type:  String
The new extension (with or without a leading period). Specify null to remove an existing extension from .

Return Value

Type:  String
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)