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.

C# | Visual Basic | Visual 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
public: 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.

The bookmark data for the URL.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)