Tests whether the file name has the expected extension.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static bool HasSupportedExtension(
	string fileName
)

Parameters

fileName
Type: System..::.String
The file name.

Return Value

Returns trueTruetruetrue (True in Visual Basic) whether the file name has the expected exception.

Exceptions

ExceptionCondition
System..::.ArgumentNullException fileName is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also