Removes the invalid chars, replacing them by a '_', in the specified file name.

Namespace: FlightPlan.Optimizer
Assembly: FlightPlanOptimizer (in FlightPlanOptimizer.exe) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string RemoveInvalidCharsFromFileName(
	string fileName
)
Visual Basic
Public Shared Function RemoveInvalidCharsFromFileName ( _
	fileName As String _
) As String
Visual C++
public:
static String^ RemoveInvalidCharsFromFileName(
	String^ fileName
)

Parameters

fileName
Type: System..::..String
The file name to remove the invalid path chars.

Return Value

A correct file name representation, or the same if it didn't contains any invalid char.

See Also