net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTextFinderClient", WrapperType = typeof(NSTextFinderClientWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReplaceCharacters", Selector = "didReplaceCharacters")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ScrollRangeToVisible", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, Selector = "scrollRangeToVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReplaceCharacters", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSRange), typeof(string) }, Selector = "replaceCharactersInRange:withString:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawCharacters", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSRange), typeof(NSView) }, Selector = "drawCharactersInRange:forContentView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetString", ParameterByRef = new[] { false, true, false }, ParameterType = new[] { typeof(UIntPtr), typeof(NSRange), typeof(bool) }, ReturnType = typeof(string), Selector = "stringAtIndex:effectiveRange:endsWithSearchBoundary:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldReplaceCharacters", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSArray), typeof(NSArray) }, ReturnType = typeof(bool), Selector = "shouldReplaceCharactersInRanges:withStrings:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetContentView", ParameterByRef = new[] { false, true }, ParameterType = new[] { typeof(UIntPtr), typeof(NSRange) }, ReturnType = typeof(NSView), Selector = "contentViewAtIndex:effectiveCharacterRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRects", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(NSArray), Selector = "rectsForCharacterRange:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "allowsMultipleSelection", IsProperty = true, IsRequired = false, IsStatic = false, Name = "AllowsMultipleSelection", PropertyType = typeof(bool), Selector = "allowsMultipleSelection")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isEditable", IsProperty = true, IsRequired = false, IsStatic = false, Name = "Editable", PropertyType = typeof(bool), Selector = "editable")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "string", IsProperty = true, IsRequired = false, IsStatic = false, Name = "String", PropertyType = typeof(string), Selector = "string")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "firstSelectedRange", IsProperty = true, IsRequired = false, IsStatic = false, Name = "FirstSelectedRange", PropertyType = typeof(NSRange), Selector = "firstSelectedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "visibleCharacterRanges", IsProperty = true, IsRequired = false, IsStatic = false, Name = "VisibleCharacterRanges", PropertyType = typeof(NSArray), Selector = "visibleCharacterRanges")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isSelectable", IsProperty = true, IsRequired = false, IsStatic = false, Name = "Selectable", PropertyType = typeof(bool), Selector = "selectable")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "stringLength", IsProperty = true, IsRequired = false, IsStatic = false, Name = "StringLength", PropertyType = typeof(UIntPtr), Selector = "stringLength")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "selectedRanges", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SelectedRanges", PropertyType = typeof(NSArray), Selector = "selectedRanges", SetterSelector = "setSelectedRanges:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTextFinderClient : INativeObject, IDisposable
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

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