DateAndOrTimeTryAsDateTimeOffset Method
Namespace: FolkerKinzel.VCards.ModelsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
public abstract bool TryAsDateTimeOffset(
out DateTimeOffset value
)
Public MustOverride Function TryAsDateTimeOffset (
<OutAttribute> ByRef value As DateTimeOffset
) As Boolean
public:
virtual bool TryAsDateTimeOffset(
[OutAttribute] DateTimeOffset% value
) abstract
abstract TryAsDateTimeOffset :
value : DateTimeOffset byref -> bool
- value DateTimeOffset
- When the method
returns true, contains a DateTimeOffset value that
represents the data that is encapsulated in the instance. The
parameter is passed uninitialized.
Booleantrue if the conversion was successful, otherwise
false.
If the encapsulated value is a
DateOnly, 12 hours
are added to the resulting
DateTimeOffset in order
to avoid wrapping the date.