Determines whether the receiver’s current state is valid.
Original signature is '- (BOOL)validateForUpdate:(NSError **)error'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function ValidateForUpdate ( _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool ValidateForUpdate( [OutAttribute] NSError^% error )
Parameters
- error (NSError%)
- If the receiver's current state is invalid, upon return contains an instance of NSError that describes the problem.
Return Value
YES if the receiver's current state is valid, otherwise NO.
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)