Returns a store initialized with the given arguments.
Original signature is '- (id)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)root configurationName:(NSString *)name URL:(NSURL *)url options:(NSDictionary *)options'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSPersistentStore( NSPersistentStoreCoordinator root, NSString name, NSURL url, NSDictionary options )
Public Sub New ( _ root As NSPersistentStoreCoordinator, _ name As NSString, _ url As NSURL, _ options As NSDictionary _ )
public: NSPersistentStore( NSPersistentStoreCoordinator^ root, NSString^ name, NSURL^ url, NSDictionary^ options )
Parameters
- root (NSPersistentStoreCoordinator)
- MISSING
- name (NSString)
- MISSING
- url (NSURL)
- The URL of the store to load.
- options (NSDictionary)
- A dictionary containing configuration options.
Return Value
A new store object, associated with coordinator, that represents a persistent store at url using the options in options and—if it is not nil—the managed object model configuration configurationName.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)