INSMetadataQueryDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines optional methods relating to the lifecycle of NSMetadataQuerys.
[Foundation.Protocol(Name="NSMetadataQueryDelegate", WrapperType=typeof(Foundation.NSMetadataQueryDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplacementObjectForResultObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSMetadataQuery), typeof(Foundation.NSMetadataItem) }, ReturnType=typeof(Foundation.NSObject), Selector="metadataQuery:replacementObjectForResultObject:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplacementValueForAttributevalue", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSMetadataQuery), typeof(System.String), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="metadataQuery:replacementValueForAttribute:value:")]
public interface INSMetadataQueryDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSMetadataQueryDelegate", WrapperType=typeof(Foundation.NSMetadataQueryDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplacementObjectForResultObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSMetadataQuery), typeof(Foundation.NSMetadataItem) }, ReturnType=typeof(Foundation.NSObject), Selector="metadataQuery:replacementObjectForResultObject:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplacementValueForAttributevalue", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSMetadataQuery), typeof(System.String), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="metadataQuery:replacementValueForAttribute:value:")>]
type INSMetadataQueryDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| ReplacementObjectForResultObject(NSMetadataQuery, NSMetadataItem) | |
| ReplacementValueForAttributevalue(NSMetadataQuery, String, NSObject) | |