Returns a Boolean value that indicates whether the value specified by a given pointer is valid for a given key path relative to the receiver.
Original signature is '- (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool ValidateValueForKeyPathError( out Id ioValue, NSString inKeyPath, out NSError outError )
Public Overridable Function ValidateValueForKeyPathError ( _ <OutAttribute> ByRef ioValue As Id, _ inKeyPath As NSString, _ <OutAttribute> ByRef outError As NSError _ ) As Boolean
public: virtual bool ValidateValueForKeyPathError( [OutAttribute] Id^% ioValue, NSString^ inKeyPath, [OutAttribute] NSError^% outError )
Parameters
- ioValue (Id%)
- A pointer to a new value for the property identified by keyPath. This method may modify or replace the value in order to make it valid.
- inKeyPath (NSString)
- MISSING
- 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.
Return Value
[Missing <returns> documentation for "M:Monobjc.Foundation.NSObject.ValidateValueForKeyPathError(Monobjc.Id@,Monobjc.Foundation.NSString,Monobjc.Foundation.NSError@)"]
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)