MonobjcMonobjc Documented Class Library
RemovePersistentStoreError Method (store, error)
NamespacesMonobjc.CoreDataNSPersistentStoreCoordinatorRemovePersistentStoreError(NSPersistentStore, NSError%)

Removes a given persistent store.

Original signature is '- (BOOL)removePersistentStore:(NSPersistentStore *)store error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool RemovePersistentStoreError(
	NSPersistentStore store,
	out NSError error
)
Public Overridable Function RemovePersistentStoreError ( _
	store As NSPersistentStore, _
	<OutAttribute> ByRef error As NSError _
) As Boolean
public:
virtual bool RemovePersistentStoreError(
	NSPersistentStore^ store, 
	[OutAttribute] NSError^% error
)
Parameters
store (NSPersistentStore)
A persistent store.
error (NSError%)
If an error occurs, upon return contains an instance of NSError that describes the problem.
Return Value
YES if the store is removed, 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)