Table of Contents

Method AppendSuffix

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

AppendSuffix(string, PathSuffix)

Appends the specified well known suffix type to a file name without modifying the extension.

public static string AppendSuffix(string path, PathSuffix suffixType)

Parameters

path string

The file name on which to append the suffix.

suffixType PathSuffix

The suffix type to append.

Returns

string

The new file name where path has been modified to end with the specified suffixType but without modifying the file extension.

AppendSuffix(string, string)

Appends the specified suffix to a file name without modifying its original extension.

public static string AppendSuffix(string path, string suffix)

Parameters

path string

The file name on which to append the suffix.

suffix string

The suffix to append.

Returns

string

The new file name where path has been modified to end with suffix but without modifying the file extension.