DateAndOrTimeTryAsDateOnly Method
Tries to convert the encapsulated data to a
DateOnly value.
Namespace: FolkerKinzel.VCards.ModelsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
public abstract bool TryAsDateOnly(
out DateOnly value
)
Public MustOverride Function TryAsDateOnly (
<OutAttribute> ByRef value As DateOnly
) As Boolean
public:
virtual bool TryAsDateOnly(
[OutAttribute] DateOnly% value
) abstract
abstract TryAsDateOnly :
value : DateOnly byref -> bool
- value DateOnly
- When the method
returns true, contains a DateOnly value that
represents the data that is encapsulated in the instance. The
parameter is passed uninitialized.
Booleantrue if the conversion was successful, otherwise
false.
The conversion fails in any case if the encapsulated value is a
TimeOnly.