Try to create an instance of the Options class using the specified commandLine parameter.
For an invalid command line, a failure message is written to the console.
Namespace: LaurelBridge.DCFExamples.DicomDiff
Assembly: DicomDiff (in DicomDiff.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public static bool TryParse( IEnumerable<string> commandLine, out Options options )
Parameters
- commandLine
- Type: System.Collections.GenericIEnumerableString
Command line parameters. - options
- Type: LaurelBridge.DCFExamples.DicomDiffOptions
Returned Options instance if successful, otherwise null.
Return Value
Type: BooleanTrue if parse was successful, else false.
See Also