'Declaration
<DisplayAttribute(AutoGenerateField=False, Order=150, ShortName="Not After")> <DisplayFormatAttribute("{0:d} {0:T}")> Public ReadOnly Property NotAfter As Date
'Usage
Dim instance As PkiCertificateInfo Dim value As Date value = instance.NotAfter
[Display(AutoGenerateField=false, Order=150, ShortName="Not After")] [DisplayFormat("{0:d} {0:T}")] public DateTime NotAfter {get;}
[Display(AutoGenerateField=false, Order=150, ShortName="Not After")] [DisplayFormat("{0:d} {0:T}")] public: property DateTime NotAfter { DateTime get(); }