MonobjcMonobjc Documented Class Library
RevertToSavedFromFileOfType Method (fileName, type)
NamespacesMonobjc.AppKitNSDocumentRevertToSavedFromFileOfType(NSString, NSString)

Reverts the receiver to the data stored in the file system. (Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.)

Original signature is '- (BOOL)revertToSavedFromFile:(NSString *)fileName ofType:(NSString *)type'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.")]
public virtual bool RevertToSavedFromFileOfType(
	NSString fileName,
	NSString type
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.")> _
Public Overridable Function RevertToSavedFromFileOfType ( _
	fileName As NSString, _
	type As NSString _
) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.")]
public:
virtual bool RevertToSavedFromFileOfType(
	NSString^ fileName, 
	NSString^ type
)
Parameters
fileName (NSString)
MISSING
type (NSString)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocument.RevertToSavedFromFileOfType(Monobjc.Foundation.NSString,Monobjc.Foundation.NSString)"]

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)