MonobjcMonobjc Documented Class Library
FileWrapperFromRangeDocumentAttributesError Method (__target, range, dict, error)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsFileWrapperFromRangeDocumentAttributesError(NSAttributedString, NSRange, NSDictionary, NSError%)

Returns an NSFileWrapper object that contains a text stream corresponding to the characters and attributes within the given range.

Original signature is '- (NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSFileWrapper FileWrapperFromRangeDocumentAttributesError(
	this NSAttributedString __target,
	NSRange range,
	NSDictionary dict,
	out NSError error
<ExtensionAttribute> _
Public Shared Function FileWrapperFromRangeDocumentAttributesError ( _
	__target As NSAttributedString, _
	range As NSRange, _
	dict As NSDictionary, _
	<OutAttribute> ByRef error As NSError _
) As NSFileWrapper
static NSFileWrapper^ FileWrapperFromRangeDocumentAttributesError(
	NSAttributedString^ __target, 
	NSRange range, 
	NSDictionary^ dict, 
	[OutAttribute] NSError^% error
__target (NSAttributedString)
The target instance.
range (NSRange)
dict (NSDictionary)
error (NSError%)
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.FileWrapperFromRangeDocumentAttributesError(Monobjc.Foundation.NSAttributedString,Monobjc.Foundation.NSRange,Monobjc.Foundation.NSDictionary,Monobjc.Foundation.NSError@)"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSAttributedString. When you use instance method syntax to call this method, omit the first parameter.
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)