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