ImageGear .NET v25.0 - Updated
ReplaceInvalidFileNameCharacters Method




ImageGear.Web.Services Assembly > ImageGear.Web.DataProviders Namespace > MarkupFileImageDataProvider Class : ReplaceInvalidFileNameCharacters Method
The file name to evaluate
The string with which to replace invalid characters
Replaces invalid file name characters in the specified file name with the specified string
Syntax
'Declaration
 
Public Function ReplaceInvalidFileNameCharacters( _
   ByVal filename As String, _
   ByVal replacement As String _
) As String
'Usage
 
Dim instance As MarkupFileImageDataProvider
Dim filename As String
Dim replacement As String
Dim value As String
 
value = instance.ReplaceInvalidFileNameCharacters(filename, replacement)
public string ReplaceInvalidFileNameCharacters( 
   string filename,
   string replacement
)
public: string* ReplaceInvalidFileNameCharacters( 
   string* filename,
   string* replacement
) 
public:
String^ ReplaceInvalidFileNameCharacters( 
   String^ filename,
   String^ replacement
) 

Parameters

filename
The file name to evaluate
replacement
The string with which to replace invalid characters

Return Value

A valid file name
See Also

Reference

MarkupFileImageDataProvider Class
MarkupFileImageDataProvider Members