MonobjcMonobjc Documented Class Library
BookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError Method (options, keys, relativeURL, error)
NamespacesMonobjc.FoundationNSURLBookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError(NSURLBookmarkCreationOptions, NSArray, NSURL, NSError%)

Returns bookmark data for the URL, created with specified options and resource values.

Original signature is '- (NSData *)bookmarkDataWithOptions:(NSURLBookmarkCreationOptions)options includingResourceValuesForKeys:(NSArray *)keys relativeToURL:(NSURL *)relativeURL error:(NSError **)error'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSData BookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError(
	NSURLBookmarkCreationOptions options,
	NSArray keys,
	NSURL relativeURL,
	out NSError error
Public Overridable Function BookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError ( _
	options As NSURLBookmarkCreationOptions, _
	keys As NSArray, _
	relativeURL As NSURL, _
	<OutAttribute> ByRef error As NSError _
) As NSData
virtual NSData^ BookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError(
	NSURLBookmarkCreationOptions options, 
	NSArray^ keys, 
	NSURL^ relativeURL, 
	[OutAttribute] NSError^% error
options (NSURLBookmarkCreationOptions)
Options taken into account when creating the bookmark data.
keys (NSArray)
An array of names of URL resource properties.
relativeURL (NSURL)
The URL that the bookmark data will be relative to.
error (NSError%)
The error that occurred in the case that the bookmark data cannot be created.
Return Value
The bookmark data for the URL.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)