Returns a Boolean value that indicates whether the value specified by a given pointer is valid for the property identified by a given key.
Original signature is '- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)key error:(NSError **)outError'
Available in Mac OS X v10.3 and later.
|C#||Visual Basic||Visual C++|
Public Overridable Function ValidateValueForKeyError ( _ <OutAttribute> ByRef ioValue As Id, _ key As NSString, _ <OutAttribute> ByRef outError As NSError _ ) As Boolean
- ioValue (Id%)
- A pointer to a new value for the property identified by key. This method may modify or replace the value in order to make it valid.
- key (NSString)
- The name of one of the receiver's properties. The key must specify an attribute or a to-one relationship.
- outError (NSError%)
- If validation is necessary and ioValue is not transformed into a valid value, upon return contains an NSError object that describes the reason that ioValue is not a valid value.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)