Skip to main content

Search.Rename Method

Containing Type: Search

Assembly: Orang.FileSystem.dll

Overloads

MethodSummary
Rename(String, MatchEvaluator, RenameOptions, CancellationToken)
Rename(String, String, RenameOptions, CancellationToken)

Rename(String, MatchEvaluator, RenameOptions, CancellationToken)

public Orang.FileSystem.IOperationResult Rename(string directoryPath, System.Text.RegularExpressions.MatchEvaluator matchEvaluator, Orang.FileSystem.RenameOptions? options = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPath String

matchEvaluator MatchEvaluator

options RenameOptions

cancellationToken CancellationToken

Returns

IOperationResult

Rename(String, String, RenameOptions, CancellationToken)

public Orang.FileSystem.IOperationResult Rename(string directoryPath, string? replacement = null, Orang.FileSystem.RenameOptions? options = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPath String

replacement String

options RenameOptions

cancellationToken CancellationToken

Returns

IOperationResult