MonobjcMonobjc Documented Class Library
MetadataQueryReplacementValueForAttributeValue Method (query, attribute, attributeValue)
NamespacesMonobjc.FoundationINSMetadataQueryDelegateMetadataQueryReplacementValueForAttributeValue(NSMetadataQuery, NSString, Id)

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 BasicVisual C++
Id MetadataQueryReplacementValueForAttributeValue(
	NSMetadataQuery query,
	NSString attribute,
	Id attributeValue
)
Function MetadataQueryReplacementValueForAttributeValue ( _
	query As NSMetadataQuery, _
	attribute As NSString, _
	attributeValue As Id _
) As Id
Id^ MetadataQueryReplacementValueForAttributeValue(
	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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)