MonobjcMonobjc Documented Class Library
ReadFromFileWrapperOfTypeError Method (fileWrapper, typeName, outError)
NamespacesMonobjc.AppKitNSDocumentReadFromFileWrapperOfTypeError(NSFileWrapper, NSString, NSError%)

Sets the contents of this document by reading from a file wrapper of a specified type.

Original signature is '- (BOOL)readFromFileWrapper:(NSFileWrapper *)fileWrapper ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ReadFromFileWrapperOfTypeError(
	NSFileWrapper fileWrapper,
	NSString typeName,
	out NSError outError
Public Overridable Function ReadFromFileWrapperOfTypeError ( _
	fileWrapper As NSFileWrapper, _
	typeName As NSString, _
	<OutAttribute> ByRef outError As NSError _
) As Boolean
virtual bool ReadFromFileWrapperOfTypeError(
	NSFileWrapper^ fileWrapper, 
	NSString^ typeName, 
	[OutAttribute] NSError^% outError
fileWrapper (NSFileWrapper)
The file wrapper from which the document contents are read.
typeName (NSString)
The string that identifies the document type.
outError (NSError%)
On return, If the document contents could not be read, a pointer to an error object that encapsulates the reason they could not be read.
Return Value
YES if the document contents could be read; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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