共用方式為


NSPersistentStore.SetMetadata(NSDictionary, NSUrl, NSError) 方法

定義

在提供的 URL 設定存放區的中繼資料。

[Foundation.Export("setMetadata:forPersistentStoreWithURL:error:")]
public static bool SetMetadata (Foundation.NSDictionary metadata, Foundation.NSUrl url, out Foundation.NSError error);
static member SetMetadata : Foundation.NSDictionary * Foundation.NSUrl *  -> bool

參數

metadata
NSDictionary

即將加入。

這個參數可以是 null

url
NSUrl
error
NSError

傳回

屬性

適用於