net9.0-ios17.2
namespace UIKit
{
    [Protocol(Name = "UITextSearching", WrapperType = typeof(UITextSearchingWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ClearAllDecoratedFoundText", Selector = "clearAllDecoratedFoundText")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "PerformTextSearch", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(UITextSearchOptions), typeof(IUITextSearchAggregator) }, Selector = "performTextSearchWithQueryString:usingOptions:resultAggregator:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Decorate", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextRange), typeof(INSCopying), typeof(UITextSearchFoundTextStyle) }, Selector = "decorateFoundTextRange:inDocument:usingStyle:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReplaceFoundText", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextRange), typeof(INSCopying), typeof(string) }, Selector = "replaceFoundTextInRange:inDocument:withText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReplaceAllOccurrences", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(UITextSearchOptions), typeof(string) }, Selector = "replaceAllOccurrencesOfQueryString:usingOptions:withText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillHighlight", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextRange), typeof(INSCopying) }, Selector = "willHighlightFoundTextRange:inDocument:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ScrollRangeToVisible", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextRange), typeof(INSCopying) }, Selector = "scrollRangeToVisible:inDocument:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Compare", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextRange), typeof(UITextRange), typeof(INSCopying) }, ReturnType = typeof(NSComparisonResult), Selector = "compareFoundRange:toRange:inDocument:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldReplaceFoundText", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextRange), typeof(INSCopying), typeof(string) }, ReturnType = typeof(bool), Selector = "shouldReplaceFoundTextInRange:inDocument:withText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CompareOrder", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(INSCopying), typeof(INSCopying) }, ReturnType = typeof(NSComparisonResult), Selector = "compareOrderFromDocument:toDocument:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "selectedTextRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SelectedTextRange", PropertyType = typeof(UITextRange), Selector = "selectedTextRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "supportsTextReplacement", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SupportsTextReplacement", PropertyType = typeof(bool), Selector = "supportsTextReplacement")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "selectedTextSearchDocument", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SelectedTextSearchDocument", PropertyType = typeof(INSCopying), Selector = "selectedTextSearchDocument")]
    [SupportedOSPlatform("ios16.0")]
    [SupportedOSPlatform("maccatalyst16.0")]
    [UnsupportedOSPlatform("tvos")]
    public interface IUITextSearching : INativeObject, IDisposable
}
.NET 7.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
iOS 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
Information specific to net9.0-ios17.2
Assembly

Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS >= 16
  • Mac Catalyst >= 16
  • tvOS
  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙