AsnWriter.WriteGeneralizedTime Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write the provided DateTimeOffset as a GeneralizedTime with a specified UNIVERSAL 24, optionally excluding the fractional seconds.
public void WriteGeneralizedTime (DateTimeOffset value, bool omitFractionalSeconds = false, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteGeneralizedTime : DateTimeOffset * bool * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteGeneralizedTime (value As DateTimeOffset, Optional omitFractionalSeconds As Boolean = false, Optional tag As Nullable(Of Asn1Tag) = Nothing)
Parameters
- value
- DateTimeOffset
The value to write.
- omitFractionalSeconds
- Boolean
true
to treat the fractional seconds in value
as 0 even if a non-zero value is present.
Exceptions
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.