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
)
Public Shared Function GetSetupExtensionFilePath (
extension As String,
skipOptionId As String,
optionsId As String,
fileNotFoundErrorId As String,
connection As IConnection,
diagnostics As IDiagnostics
) As IFilePath
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:
IFilePathFilePath of setup extension
See Also