DeleteOlderThan(DirectoryInfo, SearchOption, TimeSpan) Method

A DirectoryInfo extension method that deletes the older than.
Namespace: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Void DeleteOlderThan(this DirectoryInfo obj, SearchOption searchOption, TimeSpan timeSpan)

Parameters

obj
Type:  DirectoryInfo
The obj to act on.
searchOption
Type:  SearchOption
The search option.
timeSpan
Type:  TimeSpan
The time span.

Return Value

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