Click or drag to resize

MultiPointSynchronizerEscapeNameToFileName Method

Converts any text into a valid file name. Note the text may escaped and/or truncated.

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static string EscapeNameToFileName(
	string text,
	int maxLength = 255,
	bool useHandler = true
)

Parameters

text
Type: SystemString
The input text.
maxLength (Optional)
Type: SystemInt32
The maximum result length.
useHandler (Optional)
Type: SystemBoolean
if set to true a custom handler will be tested, if any.

Return Value

Type: String
A valid file name.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext
See Also