MonobjcMonobjc Documented Class Library
FileWrapperOfTypeError Method (typeName, outError)
NamespacesMonobjc.AppKitNSDocumentFileWrapperOfTypeError(NSString, NSError%)

Creates and returns a file wrapper that contains the contents of the document, formatted to the specified type.

Original signature is '- (NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFileWrapper FileWrapperOfTypeError(
	NSString typeName,
	out NSError outError
Public Overridable Function FileWrapperOfTypeError ( _
	typeName As NSString, _
	<OutAttribute> ByRef outError As NSError _
) As NSFileWrapper
virtual NSFileWrapper^ FileWrapperOfTypeError(
	NSString^ typeName, 
	[OutAttribute] NSError^% outError
typeName (NSString)
The string that identifies the document type.
outError (NSError%)
On return, If the file wrapper could not be created, a pointer to an error object that encapsulates the reason it could not be created.
Return Value
A file wrapper containing the document contents, or, if the file wrapper could not be created, nil.
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)