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
实现
- 属性