MonobjcMonobjc Documented Class Library
OpenDocumentWithContentsOfFileDisplay Method (fileName, flag)
NamespacesMonobjc.AppKitNSDocumentControllerOpenDocumentWithContentsOfFileDisplay(NSString, Boolean)

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 BasicVisual 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
)
Parameters
fileName (NSString)
MISSING
flag (Boolean)
MISSING
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)