PeriodTryParse Method

Construct a new Period object from a period specified in a string. Parameters specify the period and the variable where the new Period object is returned.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static bool TryParse(
	string period,
	out Period result
)

Parameters

period  String
The string that specifies the period.
result  Period
When this method returns, this contains an object that represents the period specified by s, or an empty period object if the conversion failed. This parameter is passed in uninitialized.

Return Value

Boolean
True if successfully parsed or false if the value could not be parsed

See Also