语言

GeneratedAttribute.Date 属性

定义

获取或设置生成源的日期。

[Android.Runtime.Register("date", ApiSince=34)]
public string? Date { get; set; }
[<Android.Runtime.Register("date", ApiSince=34)>]
member this.Date : string with get, set

属性值

ISO 8601 格式的生成日期,或 null 未提供日期时。

特性

注解

例如 2017-07-04T12:08:56.235-0700,该值必须遵循 ISO 8601。

适用于