Click or drag to resize

Mike1DBridge.GetSetupExtensionFilePath Method

Search for setup extension filename, i.e. setup file but with different extension (scripts .cs, .m1da etc.)

Namespace:  DHI.Mike1D.Mike1DDataAccess
Assembly:  DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static IFilePath GetSetupExtensionFilePath(
	string extension,
	string skipOptionId,
	string optionsId,
	string fileNotFoundErrorId,
	IConnection connection,
	IDiagnostics diagnostics
)

Parameters

extension
Type: System.String
Extension to search for
skipOptionId
Type: System.String
If this option is set, return null (skip)
optionsId
Type: System.String
If this option is set, use this as the filename
fileNotFoundErrorId
Type: System.String
Error ID if file is not found
connection
Type: DHI.Mike1D.Generic.IConnection
Connection of setup
diagnostics
Type: DHI.Mike1D.Generic.IDiagnostics
Diagnostics, for error reporting

Return Value

Type: IFilePath
FilePath of setup extension
See Also