編輯

共用方式為


NSMetadataQueryDelegate_Extensions Class

Definition

Extension methods to the INSMetadataQueryDelegate interface to support all the methods from the NSMetadataQueryDelegate protocol.

public static class NSMetadataQueryDelegate_Extensions
type NSMetadataQueryDelegate_Extensions = class
Inheritance
NSMetadataQueryDelegate_Extensions

Remarks

The extension methods for INSMetadataQueryDelegate allow developers to treat instances of the interface as having all the optional methods of the original NSMetadataQueryDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

ReplacementObjectForResultObject(INSMetadataQueryDelegate, NSMetadataQuery, NSMetadataItem)
ReplacementValueForAttributevalue(INSMetadataQueryDelegate, NSMetadataQuery, String, NSObject)

Applies to