共用方式為


NSManagedObjectContext.CommitEditing 方法

定義

多載

CommitEditing()
CommitEditing(NSError)
CommitEditing(NSObject, Selector, IntPtr)

CommitEditing()

[Foundation.Export("commitEditing")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool CommitEditing ();
override this.CommitEditing : unit -> bool

傳回

實作

屬性

適用於

CommitEditing(NSError)

[Foundation.Export("commitEditingAndReturnError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool CommitEditing (out Foundation.NSError error);
override this.CommitEditing :  -> bool

參數

error
NSError

傳回

實作

屬性

適用於

CommitEditing(NSObject, Selector, IntPtr)

[Foundation.Export("commitEditingWithDelegate:didCommitSelector:contextInfo:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void CommitEditing (Foundation.NSObject delegateObject, ObjCRuntime.Selector didCommitSelector, IntPtr contextInfo);
override this.CommitEditing : Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

delegateObject
NSObject
didCommitSelector
Selector
contextInfo
IntPtr

nativeint

實作

屬性

適用於