NSManagedObjectContext.CommitEditing 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
實作
- 屬性