MonobjcMonobjc Documented Class Library
InitWithURLOptionsError Method (url, options, outError)
NamespacesMonobjc.AppKitNSFileWrapperInitWithURLOptionsError(NSURL, NSFileWrapperReadingOptions, NSError%)

Initializes a file wrapper instance whose kind is determined by the type of file-system node located by the URL.

Original signature is '- (id)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithURLOptionsError(
	NSURL url,
	NSFileWrapperReadingOptions options,
	out NSError outError
)
Public Overridable Function InitWithURLOptionsError ( _
	url As NSURL, _
	options As NSFileWrapperReadingOptions, _
	<OutAttribute> ByRef outError As NSError _
) As Id
public:
virtual Id^ InitWithURLOptionsError(
	NSURL^ url, 
	NSFileWrapperReadingOptions options, 
	[OutAttribute] NSError^% outError
)
Parameters
url (NSURL)
URL of the file-system node the file wrapper is to represent.
options (NSFileWrapperReadingOptions)
Option flags for reading the node located at url. See “File Wrapper Reading Options” for possible values.
outError (NSError%)
If an error occurs, upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.
Return Value
File wrapper for the file-system node at url. May be a directory, file, or symbolic link, depending on what is located at the URL. Returns NO (0) if reading is not successful.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)