共用方式為


EKEventStore.SaveEvent 方法

定義

多載

SaveEvent(EKEvent, EKSpan, NSError)
SaveEvent(EKEvent, EKSpan, Boolean, NSError)

SaveEvent(EKEvent, EKSpan, NSError)

[Foundation.Export("saveEvent:span:error:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SaveEvent (EventKit.EKEvent theEvent, EventKit.EKSpan span, out Foundation.NSError error);
abstract member SaveEvent : EventKit.EKEvent * EventKit.EKSpan *  -> bool
override this.SaveEvent : EventKit.EKEvent * EventKit.EKSpan *  -> bool

參數

theEvent
EKEvent
span
EKSpan
error
NSError

傳回

屬性

適用於

SaveEvent(EKEvent, EKSpan, Boolean, NSError)

[Foundation.Export("saveEvent:span:commit:error:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SaveEvent (EventKit.EKEvent ekEvent, EventKit.EKSpan span, bool commit, out Foundation.NSError error);
abstract member SaveEvent : EventKit.EKEvent * EventKit.EKSpan * bool *  -> bool
override this.SaveEvent : EventKit.EKEvent * EventKit.EKSpan * bool *  -> bool

參數

ekEvent
EKEvent
span
EKSpan
commit
Boolean
error
NSError

傳回

屬性

適用於