ICPSearchTemplateDelegate 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
클래스의 대리자 개체입니다 CPSearchTemplate .
[Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdatedSearchText", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDCPSearchTemplateDelegateUpdateHandler) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(System.String), typeof(CarPlay.CPSearchTemplateDelegateUpdateHandler) }, Selector="searchTemplate:updatedSearchText:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectedResult", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(CarPlay.CPListItem), typeof(System.Action) }, Selector="searchTemplate:selectedResult:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SearchButtonPressed", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate) }, Selector="searchTemplateSearchButtonPressed:")]
public interface ICPSearchTemplateDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdatedSearchText", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDCPSearchTemplateDelegateUpdateHandler) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(System.String), typeof(CarPlay.CPSearchTemplateDelegateUpdateHandler) }, Selector="searchTemplate:updatedSearchText:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectedResult", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(CarPlay.CPListItem), typeof(System.Action) }, Selector="searchTemplate:selectedResult:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SearchButtonPressed", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate) }, Selector="searchTemplateSearchButtonPressed:")>]
type ICPSearchTemplateDelegate = interface
interface INativeObject
interface IDisposable
- 파생
- 특성
- 구현
속성
| Name | Description |
|---|---|
| Handle |
관리되지 않는 개체 표현에 대한 핸들(포인터)입니다. (다음에서 상속됨 INativeObject) |
메서드
| Name | Description |
|---|---|
| SearchButtonPressed(CPSearchTemplate) |
클래스의 대리자 개체입니다 CPSearchTemplate . |
| SelectedResult(CPSearchTemplate, CPListItem, Action) |
개발자는 검색 선택에 응답하기 위해 이 메서드를 재정의해야 합니다. |
| UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler) |
개발자는 검색 텍스트의 변경에 응답하기 위해 이 메서드를 재정의해야 합니다. |
확장명 메서드
| Name | Description |
|---|---|
| GetHandle(INativeObject) |
클래스의 대리자 개체입니다 CPSearchTemplate . |
| GetNonNullHandle(INativeObject, String) |
클래스의 대리자 개체입니다 CPSearchTemplate . |
| SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate) |
클래스의 대리자 개체입니다 CPSearchTemplate . |