MonobjcMonobjc Documented Class Library
InitWithDataOptionsDocumentAttributesError Method (__target, data, options, dict, error)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsInitWithDataOptionsDocumentAttributesError(NSAttributedString, NSData, NSDictionary, NSDictionary%, NSError%)

Initializes and returns a new NSAttributedString object from the data contained in the given NSData object.

Original signature is '- (id)initWithData:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.

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

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.InitWithDataOptionsDocumentAttributesError(Monobjc.Foundation.NSAttributedString,Monobjc.Foundation.NSData,Monobjc.Foundation.NSDictionary,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)