Implemented by the delegate to return a different value for a specific attribute.
Original signature is '- (id)metadataQuery:(NSMetadataQuery *)query replacementValueForAttribute:(NSString *)attribute value:(id)attributeValue'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate Id MetadataQueryReplacementValueForAttributeValueEventHandler( NSMetadataQuery query, NSString attribute, Id attributeValue )
Public Delegate Function MetadataQueryReplacementValueForAttributeValueEventHandler ( _ query As NSMetadataQuery, _ attribute As NSString, _ attributeValue As Id _ ) As Id
public delegate Id^ MetadataQueryReplacementValueForAttributeValueEventHandler( NSMetadataQuery^ query, NSString^ attribute, Id^ attributeValue )
Parameters
- query (NSMetadataQuery)
- The query that produced the result object with attribute.
- attribute (NSString)
- The attribute in question.
- attributeValue (Id)
- The attribute value to replace.
Return Value
Object that replaces the value of attribute in the result object
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)