Share via


NSPersistentStore.SetMetadata(NSDictionary, NSUrl, NSError) Method

Definition

Sets the metadata for the store at the provided URL.

[Foundation.Export("setMetadata:forPersistentStoreWithURL:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool SetMetadata(Foundation.NSDictionary? metadata, Foundation.NSUrl url, out Foundation.NSError error);
[<Foundation.Export("setMetadata:forPersistentStoreWithURL:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SetMetadata : Foundation.NSDictionary * Foundation.NSUrl * NSError -> bool

Parameters

metadata
NSDictionary

To be added.

This parameter can be null.

url
NSUrl
error
NSError

Returns

Attributes

Applies to