INSTextFinderClient Interface

Definition

This interface represents the Objective-C protocol NSTextFinderClient.

[Foundation.Protocol(Name="NSTextFinderClient", WrapperType=typeof(AppKit.NSTextFinderClientWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetString", ParameterByRef=new System.Boolean[] { false, true, false }, ParameterType=new System.Type[] { typeof(System.UIntPtr), typeof(Foundation.NSRange), typeof(System.Boolean) }, ReturnType=typeof(System.String), Selector="stringAtIndex:effectiveRange:endsWithSearchBoundary:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrollRangeToVisible", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, Selector="scrollRangeToVisible:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSArray), typeof(Foundation.NSArray) }, ReturnType=typeof(System.Boolean), Selector="shouldReplaceCharactersInRanges:withStrings:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(System.String) }, Selector="replaceCharactersInRange:withString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReplaceCharacters", Selector="didReplaceCharacters")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetContentView", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(AppKit.NSView), Selector="contentViewAtIndex:effectiveCharacterRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetRects", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSArray), Selector="rectsForCharacterRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(AppKit.NSView) }, Selector="drawCharactersInRange:forContentView:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsMultipleSelection", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsMultipleSelection", PropertyType=typeof(System.Boolean), Selector="allowsMultipleSelection")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isEditable", IsProperty=true, IsRequired=false, IsStatic=false, Name="Editable", PropertyType=typeof(System.Boolean), Selector="editable")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="string", IsProperty=true, IsRequired=false, IsStatic=false, Name="String", PropertyType=typeof(System.String), Selector="string")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="firstSelectedRange", IsProperty=true, IsRequired=false, IsStatic=false, Name="FirstSelectedRange", PropertyType=typeof(Foundation.NSRange), Selector="firstSelectedRange")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="selectedRanges", IsProperty=true, IsRequired=false, IsStatic=false, Name="SelectedRanges", PropertyType=typeof(Foundation.NSArray), Selector="selectedRanges", SetterSelector="setSelectedRanges:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="visibleCharacterRanges", IsProperty=true, IsRequired=false, IsStatic=false, Name="VisibleCharacterRanges", PropertyType=typeof(Foundation.NSArray), Selector="visibleCharacterRanges")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSelectable", IsProperty=true, IsRequired=false, IsStatic=false, Name="Selectable", PropertyType=typeof(System.Boolean), Selector="selectable")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="stringLength", IsProperty=true, IsRequired=false, IsStatic=false, Name="StringLength", PropertyType=typeof(System.UIntPtr), Selector="stringLength")]
public interface INSTextFinderClient : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextFinderClient", WrapperType=typeof(AppKit.NSTextFinderClientWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetString", ParameterByRef=new System.Boolean[] { false, true, false }, ParameterType=new System.Type[] { typeof(System.UIntPtr), typeof(Foundation.NSRange), typeof(System.Boolean) }, ReturnType=typeof(System.String), Selector="stringAtIndex:effectiveRange:endsWithSearchBoundary:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrollRangeToVisible", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, Selector="scrollRangeToVisible:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSArray), typeof(Foundation.NSArray) }, ReturnType=typeof(System.Boolean), Selector="shouldReplaceCharactersInRanges:withStrings:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(System.String) }, Selector="replaceCharactersInRange:withString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReplaceCharacters", Selector="didReplaceCharacters")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetContentView", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(AppKit.NSView), Selector="contentViewAtIndex:effectiveCharacterRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetRects", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSArray), Selector="rectsForCharacterRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(AppKit.NSView) }, Selector="drawCharactersInRange:forContentView:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsMultipleSelection", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsMultipleSelection", PropertyType=typeof(System.Boolean), Selector="allowsMultipleSelection")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isEditable", IsProperty=true, IsRequired=false, IsStatic=false, Name="Editable", PropertyType=typeof(System.Boolean), Selector="editable")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="string", IsProperty=true, IsRequired=false, IsStatic=false, Name="String", PropertyType=typeof(System.String), Selector="string")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="firstSelectedRange", IsProperty=true, IsRequired=false, IsStatic=false, Name="FirstSelectedRange", PropertyType=typeof(Foundation.NSRange), Selector="firstSelectedRange")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="selectedRanges", IsProperty=true, IsRequired=false, IsStatic=false, Name="SelectedRanges", PropertyType=typeof(Foundation.NSArray), Selector="selectedRanges", SetterSelector="setSelectedRanges:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="visibleCharacterRanges", IsProperty=true, IsRequired=false, IsStatic=false, Name="VisibleCharacterRanges", PropertyType=typeof(Foundation.NSArray), Selector="visibleCharacterRanges")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSelectable", IsProperty=true, IsRequired=false, IsStatic=false, Name="Selectable", PropertyType=typeof(System.Boolean), Selector="selectable")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="stringLength", IsProperty=true, IsRequired=false, IsStatic=false, Name="StringLength", PropertyType=typeof(System.UIntPtr), Selector="stringLength")>]
type INSTextFinderClient = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to