MonobjcMonobjc Documented Class Library
SetURLForPersistentStore Method (url, store)
NamespacesMonobjc.CoreDataNSPersistentStoreCoordinatorSetURLForPersistentStore(NSURL, NSPersistentStore)

Sets the URL for a given persistent store.

Original signature is '- (BOOL)setURL:(NSURL *)url forPersistentStore:(NSPersistentStore *)store'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetURLForPersistentStore(
	NSURL url,
	NSPersistentStore store
)
Public Overridable Function SetURLForPersistentStore ( _
	url As NSURL, _
	store As NSPersistentStore _
) As Boolean
public:
virtual bool SetURLForPersistentStore(
	NSURL^ url, 
	NSPersistentStore^ store
)
Parameters
url (NSURL)
The new location for store.
store (NSPersistentStore)
A persistent store associated with the receiver.
Return Value
YES if the store was relocated, 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)