NSPersistentStoreCoordinator.SetMetadata Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
SetMetadata(NSDictionary, NSPersistentStore) |
Establece los metadatos de un almacén persistente. |
SetMetadata(NSDictionary, NSString, NSUrl, NSError) |
Establece los metadatos de un almacén persistente en una dirección URL. |
SetMetadata(NSDictionary<NSString,NSObject>, String, NSUrl, NSDictionary, NSError) |
Establece los metadatos de un almacén persistente en una dirección URL. |
SetMetadata(NSDictionary, NSPersistentStore)
Establece los metadatos de un almacén persistente.
[Foundation.Export("setMetadata:forPersistentStore:")]
public virtual void SetMetadata (Foundation.NSDictionary metadata, CoreData.NSPersistentStore store);
abstract member SetMetadata : Foundation.NSDictionary * CoreData.NSPersistentStore -> unit
override this.SetMetadata : Foundation.NSDictionary * CoreData.NSPersistentStore -> unit
Parámetros
- store
- NSPersistentStore
- Atributos
Se aplica a
SetMetadata(NSDictionary, NSString, NSUrl, NSError)
Establece los metadatos de un almacén persistente en una dirección URL.
[Foundation.Export("setMetadata:forPersistentStoreOfType:URL:error:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the method that takes an 'out NSError' parameter.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use the method that takes an 'out NSError' parameter.")]
public static bool SetMetadata (Foundation.NSDictionary metadata, Foundation.NSString storeType, Foundation.NSUrl url, out Foundation.NSError error);
[Foundation.Export("setMetadata:forPersistentStoreOfType:URL:error:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use the method that takes an out NSError parameter.")]
public static bool SetMetadata (Foundation.NSDictionary metadata, Foundation.NSString storeType, Foundation.NSUrl url, out Foundation.NSError error);
static member SetMetadata : Foundation.NSDictionary * Foundation.NSString * Foundation.NSUrl * -> bool
Parámetros
- metadata
- NSDictionary
- storeType
- NSString
- url
- NSUrl
- error
- NSError
Devoluciones
- Atributos
Se aplica a
SetMetadata(NSDictionary<NSString,NSObject>, String, NSUrl, NSDictionary, NSError)
Establece los metadatos de un almacén persistente en una dirección URL.
[Foundation.Export("setMetadata:forPersistentStoreOfType:URL:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool SetMetadata (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, string storeType, Foundation.NSUrl url, Foundation.NSDictionary options, out Foundation.NSError error);
static member SetMetadata : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * string * Foundation.NSUrl * Foundation.NSDictionary * -> bool
Parámetros
- storeType
- String
- url
- NSUrl
- error
- NSError
Devoluciones
- Atributos