MonobjcMonobjc Documented Class Library
MetadataForPersistentStoreOfTypeURLError Method (storeType, url, error)
NamespacesMonobjc.CoreDataNSPersistentStoreCoordinatorMetadataForPersistentStoreOfTypeURLError(NSString, NSURL, NSError%)

Returns a dictionary containing the metadata stored in the persistent store at a given URL.

Original signature is '+ (NSDictionary *)metadataForPersistentStoreOfType:(NSString *)storeType URL:(NSURL *)url error:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDictionary MetadataForPersistentStoreOfTypeURLError(
	NSString storeType,
	NSURL url,
	out NSError error
)
Public Shared Function MetadataForPersistentStoreOfTypeURLError ( _
	storeType As NSString, _
	url As NSURL, _
	<OutAttribute> ByRef error As NSError _
) As NSDictionary
public:
static NSDictionary^ MetadataForPersistentStoreOfTypeURLError(
	NSString^ storeType, 
	NSURL^ url, 
	[OutAttribute] NSError^% error
)
Parameters
storeType (NSString)
The type of the store at url. If this value is nil, Core Data determines which store class should be used to get or set the store file's metadata by inspecting the file contents.
url (NSURL)
The location of a persistent store.
error (NSError%)
If no store is found at url or if there is a problem accessing its contents, upon return contains an NSError object that describes the problem.
Return Value
A dictionary containing the metadata stored in the persistent store at url, or nil if the store cannot be opened or if there is a problem accessing its contents. The keys guaranteed to be in this dictionary are NSStoreTypeKey and NSStoreUUIDKey.
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)