PstItemMakeStringSafeForFileName Method |
Replaces all those characters in the supplied string which cannot be used in filenames, with "_" symbols.
Namespace: MailBee.OutlookAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic static string MakeStringSafeForFileName(
string str
)
Public Shared Function MakeStringSafeForFileName (
str As String
) As String
Parameters
- str
- Type: SystemString
A string which may contain symbols not allowed in filenames.
Return Value
Type:
StringA string safe to use as a filename, or an empty string if
str is empty.
Exceptions
See Also