NSPersistentStoreCoordinator.Lock 方法

定义

[Foundation.Export("lock")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'PerformAndWait' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'PerformAndWait' instead.")]
public virtual void Lock ();
[Foundation.Export("lock")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PerformAndWait' instead.")]
public virtual void Lock ();
abstract member Lock : unit -> unit
override this.Lock : unit -> unit

实现

属性

适用于