DATE.TryParse Method

Tries to parse the specified string to a DATE object.

Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public static bool TryParse(
    string s,
    out DATE?? date
)

Parameters

s

Type: System.String
The s.

date

Type: TwinCAT.PlcOpen.DATE.
The date.

Return Value

Type: Boolean
true if the string could be parsed to DATE, false otherwise.

Reference

DATE Class

TwinCAT.PlcOpen Namespace