UNMutableNotificationContent.Attachments 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 物件的陣列 UNNotificationAttachment ,其中包含通知的附件。
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UserNotifications.UNNotificationAttachment[] Attachments { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("attachments", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setAttachments:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Attachments : UserNotifications.UNNotificationAttachment[] with get, set
屬性值
物件的陣列 UNNotificationAttachment ,其中包含通知的附件。
- 屬性