LAUREL BRIDGE

OptionsTryParse Method

DICOM Connectivity Framework V3.4
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.StoreSCU
Assembly:  StoreSCU (in StoreSCU.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.StoreSCUOptions
Returned Options instance if successful, otherwise null.

Return Value

Type: Boolean
True if parse was successful, else false.
See Also

Reference