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.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static bool TryParse(
string period,
out Period result
)
Public Shared Function TryParse (
period As String,
<OutAttribute> ByRef result As Period
) As Boolean
public:
static bool TryParse(
String^ period,
[OutAttribute] Period^% result
)
static member TryParse :
period : string *
result : Period byref -> bool
- 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.
BooleanTrue if successfully parsed or false if the value could not be parsed