MonobjcMonobjc Documented Class Library
BookmarkDataWithContentsOfURLError Method (bookmarkFileURL, error)
NamespacesMonobjc.FoundationNSURLBookmarkDataWithContentsOfURLError(NSURL, NSError%)

Initializes and returns bookmark data derived from an alias file pointed to by a specified URL.

Original signature is '+ (NSData *)bookmarkDataWithContentsOfURL:(NSURL *)bookmarkFileURL error:(NSError **)error'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData BookmarkDataWithContentsOfURLError(
	NSURL bookmarkFileURL,
	out NSError error
Public Shared Function BookmarkDataWithContentsOfURLError ( _
	bookmarkFileURL As NSURL, _
	<OutAttribute> ByRef error As NSError _
) As NSData
static NSData^ BookmarkDataWithContentsOfURLError(
	NSURL^ bookmarkFileURL, 
	[OutAttribute] NSError^% error
bookmarkFileURL (NSURL)
The URL that points to the alias file.
error (NSError%)
The error that occurred in the case that the bookmark data cannot be derived.
Return Value
The bookmark data for the alias file.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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