Validates the document against the governing schema and returns whether the document conforms to the schema.
Original signature is '- (BOOL)validateAndReturnError:(NSError **)error'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function ValidateAndReturnError ( _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool ValidateAndReturnError( [OutAttribute] NSError^% error )
Parameters
- error (NSError%)
- If validation fails, on return contains an NSError object describing the reason or reasons for failure.
Return Value
YES if the validation operation succeeded, 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)