MonobjcMonobjc Documented Class Library
ConfigurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError Method (url, fileType, configuration, storeOptions, error)
NamespacesMonobjc.AppKitNSPersistentDocumentConfigurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError(NSURL, NSString, NSString, NSDictionary, NSError%)

Configures the receiver’s persistent store coordinator with the appropriate stores for a given URL.

Original signature is '- (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL *)url ofType:(NSString *)fileType modelConfiguration:(NSString *)configuration storeOptions:(NSDictionary *)storeOptions error:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ConfigurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError(
	NSURL url,
	NSString fileType,
	NSString configuration,
	NSDictionary storeOptions,
	out NSError error
)
Public Overridable Function ConfigurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError ( _
	url As NSURL, _
	fileType As NSString, _
	configuration As NSString, _
	storeOptions As NSDictionary, _
	<OutAttribute> ByRef error As NSError _
) As Boolean
public:
virtual bool ConfigurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError(
	NSURL^ url, 
	NSString^ fileType, 
	NSString^ configuration, 
	NSDictionary^ storeOptions, 
	[OutAttribute] NSError^% error
)
Parameters
url (NSURL)
An URL that specifies the location of the document's store.
fileType (NSString)
The document type.
configuration (NSString)
The name of the managed object model configuration to use. (The managed object model is associated with the persistent store coordinator.) Pass nil if you do not want to specify a configuration.
storeOptions (NSDictionary)
Options for the store. See “Store Options” in NSPersistentStoreCoordinator for possible values.
error (NSError%)
If the method does not complete successfully, upon return contains an NSError object that describes the problem.
Return Value
YES if the method completes successfully, otherwise NO.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)