共用方式為


NSTextViewDelegate_Extensions.ShouldChangeTextInRange 方法

定義

public static bool ShouldChangeTextInRange (this AppKit.INSTextViewDelegate This, AppKit.NSTextView textView, Foundation.NSRange affectedCharRange, string replacementString);
static member ShouldChangeTextInRange : AppKit.INSTextViewDelegate * AppKit.NSTextView * Foundation.NSRange * string -> bool

參數

textView
NSTextView
affectedCharRange
NSRange
replacementString
String

傳回

適用於