共用方式為


NSManagedObjectContext.SetQueryGenerationFromToken 方法

定義

從指定的查詢產生權杖設定查詢產生。

[Foundation.Export("setQueryGenerationFromToken:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetQueryGenerationFromToken (CoreData.NSQueryGenerationToken generation, out Foundation.NSError error);
abstract member SetQueryGenerationFromToken : CoreData.NSQueryGenerationToken *  -> bool
override this.SetQueryGenerationFromToken : CoreData.NSQueryGenerationToken *  -> bool

參數

generation
NSQueryGenerationToken

即將加入。

這個參數可以是 null

error
NSError

傳回

屬性

適用於