Creates an alias file on disk at a specified location with specified bookmark data.
Original signature is '+ (BOOL)writeBookmarkData:(NSData *)bookmarkData toURL:(NSURL *)bookmarkFileURL options:(NSURLBookmarkFileCreationOptions)options error:(NSError **)error'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public static bool WriteBookmarkDataToURLOptionsError( NSData bookmarkData, NSURL bookmarkFileURL, NSURLBookmarkCreationOptions options, out NSError error )
Public Shared Function WriteBookmarkDataToURLOptionsError ( _ bookmarkData As NSData, _ bookmarkFileURL As NSURL, _ options As NSURLBookmarkCreationOptions, _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: static bool WriteBookmarkDataToURLOptionsError( NSData^ bookmarkData, NSURL^ bookmarkFileURL, NSURLBookmarkCreationOptions options, [OutAttribute] NSError^% error )

- bookmarkData (NSData)
- The bookmark data containing information for the alias file.
- bookmarkFileURL (NSURL)
- The desired location of the alias file.
- options (NSURLBookmarkCreationOptions)
- Options taken into account when creating the alias file.
- error (NSError%)
- The error that occurred in the case that the alias file cannot be created.

YES if the alias file is successfully created; otherwise, NO.

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