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 Basic | Visual 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 )
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)