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

Recursively rereads the entire contents of a file wrapper from the specified location on disk.

Original signature is '- (BOOL)readFromURL:(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 bool ReadFromURLOptionsError(
	NSURL url,
	NSFileWrapperReadingOptions options,
	out NSError outError
Public Overridable Function ReadFromURLOptionsError ( _
	url As NSURL, _
	options As NSFileWrapperReadingOptions, _
	<OutAttribute> ByRef outError As NSError _
) As Boolean
virtual bool ReadFromURLOptionsError(
	NSURL^ url, 
	NSFileWrapperReadingOptions options, 
	[OutAttribute] NSError^% outError
url (NSURL)
URL of the file-system node corresponding to the file wrapper.
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
YES if successful. If not successful, returns NO after setting outError to an NSError object that describes the reason why the file wrapper could not be reread.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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