MonobjcMonobjc Documented Class Library
InitWithURLOptionsDocumentAttributesError Method (__target, url, options, dict, error)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsInitWithURLOptionsDocumentAttributesError(NSAttributedString, NSURL, NSDictionary, NSDictionary%, NSError%)

Initializes a new NSAttributedString object from the contents of the given URL.

Original signature is '- (id)initWithURL:(NSURL *)url 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 InitWithURLOptionsDocumentAttributesError(
	this NSAttributedString __target,
	NSURL url,
	NSDictionary options,
	out NSDictionary dict,
	out NSError error
)
<ExtensionAttribute> _
Public Shared Function InitWithURLOptionsDocumentAttributesError ( _
	__target As NSAttributedString, _
	url As NSURL, _
	options As NSDictionary, _
	<OutAttribute> ByRef dict As NSDictionary, _
	<OutAttribute> ByRef error As NSError _
) As Id
[ExtensionAttribute]
public:
static Id^ InitWithURLOptionsDocumentAttributesError(
	NSAttributedString^ __target, 
	NSURL^ url, 
	NSDictionary^ options, 
	[OutAttribute] NSDictionary^% dict, 
	[OutAttribute] NSError^% error
)
Parameters
__target (NSAttributedString)
The target instance.
url (NSURL)
MISSING
options (NSDictionary)
MISSING
dict (NSDictionary%)
MISSING
error (NSError%)
MISSING
Return Value

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