Checks whether a filename is valid for this format.

Namespace:  FreeImageAPI.Plugins
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public bool ValidFilename(
	string filename,
	StringComparison comparisonType
)
Visual Basic (Declaration)
Public Function ValidFilename ( _
	filename As String, _
	comparisonType As StringComparison _
) As Boolean
Visual C++
public:
bool ValidFilename(
	String^ filename, 
	StringComparison comparisonType
)

Parameters

filename
Type: System..::.String
The desired filename.
comparisonType
Type: System..::.StringComparison
The string comparison type.

Return Value

True if the filename is valid for this format, false otherwise.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also