Click or drag to resize

IFilePathExtensionIs Method

Return true if the extension of the file path is "extension".

The dot is a part of the extension, i.e. use as

fp.ExtensionIs(".txt")

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
bool ExtensionIs(
	string extension
)

Parameters

extension
Type: SystemString

Return Value

Type: Boolean
See Also