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")

Definition

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

Parameters

extension  String

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

Return Value

Boolean

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

See Also