Returns a document object created from the contents of a given file and optionally displays it. (Deprecated in Mac OS X v10.4. Use openDocumentWithContentsOfURL:display:error: instead.)
Original signature is '- (id)openDocumentWithContentsOfFile:(NSString *)fileName display:(BOOL)flag'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use openDocumentWithContentsOfURL:display:error: instead.")] public virtual Id OpenDocumentWithContentsOfFileDisplay( NSString fileName, bool flag )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use openDocumentWithContentsOfURL:display:error: instead.")> _ Public Overridable Function OpenDocumentWithContentsOfFileDisplay ( _ fileName As NSString, _ flag As Boolean _ ) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use openDocumentWithContentsOfURL:display:error: instead.")] public: virtual Id^ OpenDocumentWithContentsOfFileDisplay( NSString^ fileName, bool flag )
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocumentController.OpenDocumentWithContentsOfFileDisplay(Monobjc.Foundation.NSString,System.Boolean)"]
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)