MonobjcMonobjc Documented Class Library
InitWithPathDocumentAttributes Method (__target, path, docAttributes)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsInitWithPathDocumentAttributes(NSAttributedString, NSString, NSDictionary%)

Initializes a new NSAttributedString object from RTF or RTFD data contained in the file at the given path.

Original signature is '- (id)initWithPath:(NSString *)path documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id InitWithPathDocumentAttributes(
	this NSAttributedString __target,
	NSString path,
	out NSDictionary docAttributes
)
<ExtensionAttribute> _
Public Shared Function InitWithPathDocumentAttributes ( _
	__target As NSAttributedString, _
	path As NSString, _
	<OutAttribute> ByRef docAttributes As NSDictionary _
) As Id
[ExtensionAttribute]
public:
static Id^ InitWithPathDocumentAttributes(
	NSAttributedString^ __target, 
	NSString^ path, 
	[OutAttribute] NSDictionary^% docAttributes
)
Parameters
__target (NSAttributedString)
The target instance.
path (NSString)
MISSING
docAttributes (NSDictionary%)
MISSING
Return Value

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

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)