Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/Foundation.framework |
Availability | Available in Mac OS X v10.4 and later. |
Companion guide | |
Declared in | NSMetadata.h |
The NSMetadataQueryAttributeValueTuple
class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.
Attribute-value tuples are returned by NSMetadataQuery
objects as the results in the value lists. Each attribute/value tuple contains the attribute name, the value, and the number of instances of that value that exist for the attribute name.
Returns the receiver’s attribute name.
- (NSString *)attribute
The receiver’s attribute name.
NSMetadata.h
Returns the number of instances of the value that exist for the attribute name of the receiver.
- (NSUInteger)count
The number of instantes of the value that exist for the attribute name of the receiver.
NSMetadata.h
Returns the receiver’s attribute value.
- (id)value
The receiver’s attribute value.
NSMetadata.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-02)