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: 19.0.0.0 (11.1.1.1111)
Syntax
bool ExtensionIs(
	string extension
)

Parameters

extension
Type: SystemString

[Missing <param name="extension"/> documentation for "M:DHI.Mike1D.Generic.IFilePath.ExtensionIs(System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.IFilePath.ExtensionIs(System.String)"]

See Also