Click or drag to resize

Mike1DBridgeGetSetupExtensionFilePath 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: SystemString
Extension to search for
skipOptionId
Type: SystemString
If this option is set, return null (skip)
optionsId
Type: SystemString
If this option is set, use this as the filename
fileNotFoundErrorId
Type: SystemString
Error ID if file is not found
connection
Type: DHI.Mike1D.GenericIConnection
Connection of setup
diagnostics
Type: DHI.Mike1D.GenericIDiagnostics
Diagnostics, for error reporting

Return Value

Type: IFilePath
FilePath of setup extension
See Also