MonobjcMonobjc Documented Class Library
ValidateForDelete Method (error)
NamespacesMonobjc.CoreDataNSManagedObjectValidateForDelete(NSError%)

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 BasicVisual C++
public virtual bool ValidateForDelete(
	out NSError error
)
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)

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