UtilMakeValidFileName Method |
Makes a file name valid by replacing invalid file name characters by an underscore.
The input string must be the file name only, and can not contain any
path characters.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static string MakeValidFileName(
string name
)
Public Shared Function MakeValidFileName (
name As String
) As String
public:
static String^ MakeValidFileName(
String^ name
)
Parameters
- name
- Type: SystemString
File name to make valid
Return Value
Type:
StringValid file name
See Also