編輯

共用方式為


NSTextView.ShouldChangeText Method

Definition

Overloads

ShouldChangeText(NSArray, String[])
ShouldChangeText(NSRange, String)

ShouldChangeText(NSArray, String[])

[Foundation.Export("shouldChangeTextInRanges:replacementStrings:")]
public virtual bool ShouldChangeText (Foundation.NSArray affectedRanges, string[] replacementStrings);
abstract member ShouldChangeText : Foundation.NSArray * string[] -> bool
override this.ShouldChangeText : Foundation.NSArray * string[] -> bool

Parameters

affectedRanges
NSArray
replacementStrings
String[]

Returns

Attributes

Applies to

ShouldChangeText(NSRange, String)

[Foundation.Export("shouldChangeTextInRange:replacementString:")]
public virtual bool ShouldChangeText (Foundation.NSRange affectedCharRange, string replacementString);
abstract member ShouldChangeText : Foundation.NSRange * string -> bool
override this.ShouldChangeText : Foundation.NSRange * string -> bool

Parameters

affectedCharRange
NSRange
replacementString
String

Returns

Attributes

Applies to