MonobjcMonobjc Documented Class Library
MetadataForPersistentStoreWithURLError Method (url, error)
NamespacesMonobjc.CoreDataNSPersistentStoreCoordinatorMetadataForPersistentStoreWithURLError(NSURL, NSError%)

Returns a dictionary that contains the metadata stored in the persistent store at the specified location. (Deprecated in Mac OS X v10.5. Use metadataForPersistentStoreOfType:URL:error: instead.)

Original signature is '+ (NSDictionary *)metadataForPersistentStoreWithURL:(NSURL *)url error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use metadataForPersistentStoreOfType:URL:error: instead.")]
public static NSDictionary MetadataForPersistentStoreWithURLError(
	NSURL url,
	out NSError error
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use metadataForPersistentStoreOfType:URL:error: instead.")> _
Public Shared Function MetadataForPersistentStoreWithURLError ( _
	url As NSURL, _
	<OutAttribute> ByRef error As NSError _
) As NSDictionary
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.5. Use metadataForPersistentStoreOfType:URL:error: instead.")]
public:
static NSDictionary^ MetadataForPersistentStoreWithURLError(
	NSURL^ url, 
	[OutAttribute] NSError^% error
)
Parameters
url (NSURL)
An URL object that specifies 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 instance of NSError that describes the problem.
Return Value
A dictionary containing the metadata for the persistent store at url. If no store is found, or there is a problem accessing its contents, returns nil. 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)