ICPSearchTemplateDelegate 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
委托 所使用的 CPSearchTemplate对象。
[Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ICPSearchTemplateDelegate : IDisposable, ObjCRuntime.INativeObject
type ICPSearchTemplateDelegate = interface
interface INativeObject
interface IDisposable
- 派生
- 属性
- 实现
属性
Handle |
处理指向非托管对象表示形式的 (指针) 。 (继承自 INativeObject) |
方法
SelectedResult(CPSearchTemplate, CPListItem, Action) |
开发人员必须重写此方法才能响应搜索选择。 |
UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler) |
开发人员必须重写此方法才能响应搜索文本中的更改。 |
扩展方法
SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate) |
委托 所使用的 CPSearchTemplate对象。 |