'Declaration
<DisplayFormatAttribute("{0:d} {0:T}")> Public ReadOnly Property NotBefore As Date
'Usage
Dim instance As PkiCertificateInfo Dim value As Date value = instance.NotBefore
[DisplayFormat("{0:d} {0:T}")] public DateTime NotBefore {get;}
[DisplayFormat("{0:d} {0:T}")] public: property DateTime NotBefore { DateTime get(); }