BackgroundContextMenuCheckFileName Method |
Check if given filename already exists in given path.
If true, tries adding a (1), (2), (3) or (4).
If they exist too, it returns an empty string.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public static string CheckFileName(
string filename,
string extension,
string path
)
Public Shared Function CheckFileName (
filename As String,
extension As String,
path As String
) As String
public:
static String^ CheckFileName(
String^ filename,
String^ extension,
String^ path
)
static member CheckFileName :
filename : string *
extension : string *
path : string -> string
Parameters
- filename
- Type: SystemString
filename to be checked - extension
- Type: SystemString
extension of the filename - path
- Type: SystemString
path where the file is located
Return Value
Type:
StringA free filename or String.empty
See Also