NSPersistentStoreCoordinator.SetMetadata 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
SetMetadata(NSDictionary, NSPersistentStore) |
영구 저장소에 대한 메타데이터를 설정합니다. |
SetMetadata(NSDictionary, NSString, NSUrl, NSError) |
URL에서 영구 저장소에 대한 메타데이터를 설정합니다. |
SetMetadata(NSDictionary<NSString,NSObject>, String, NSUrl, NSDictionary, NSError) |
URL에서 영구 저장소에 대한 메타데이터를 설정합니다. |
SetMetadata(NSDictionary, NSPersistentStore)
영구 저장소에 대한 메타데이터를 설정합니다.
[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
매개 변수
- store
- NSPersistentStore
- 특성
적용 대상
SetMetadata(NSDictionary, NSString, NSUrl, NSError)
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
매개 변수
- metadata
- NSDictionary
- storeType
- NSString
- url
- NSUrl
- error
- NSError
반환
- 특성
적용 대상
SetMetadata(NSDictionary<NSString,NSObject>, String, NSUrl, NSDictionary, NSError)
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
매개 변수
- storeType
- String
- url
- NSUrl
- error
- NSError
반환
- 특성