共用方式為


CKContainer.GetDatabase(CKDatabaseScope) 方法

定義

擷取具有指定 databaseScope 之 的資料庫。

[Foundation.Export("databaseWithDatabaseScope:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual CloudKit.CKDatabase GetDatabase (CloudKit.CKDatabaseScope databaseScope);
abstract member GetDatabase : CloudKit.CKDatabaseScope -> CloudKit.CKDatabase
override this.GetDatabase : CloudKit.CKDatabaseScope -> CloudKit.CKDatabase

參數

databaseScope
CKDatabaseScope

傳回

屬性

適用於