編集

次の方法で共有


NSTextView.SetSelectedRange Method

Definition

Overloads

SetSelectedRange(NSRange)
SetSelectedRange(NSRange, NSSelectionAffinity, Boolean)

SetSelectedRange(NSRange)

[Foundation.Export("setSelectedRange:")]
public virtual void SetSelectedRange (Foundation.NSRange charRange);
abstract member SetSelectedRange : Foundation.NSRange -> unit
override this.SetSelectedRange : Foundation.NSRange -> unit

Parameters

charRange
NSRange
Attributes

Applies to

SetSelectedRange(NSRange, NSSelectionAffinity, Boolean)

[Foundation.Export("setSelectedRange:affinity:stillSelecting:")]
public virtual void SetSelectedRange (Foundation.NSRange charRange, AppKit.NSSelectionAffinity affinity, bool stillSelectingFlag);
abstract member SetSelectedRange : Foundation.NSRange * AppKit.NSSelectionAffinity * bool -> unit
override this.SetSelectedRange : Foundation.NSRange * AppKit.NSSelectionAffinity * bool -> unit

Parameters

charRange
NSRange
stillSelectingFlag
Boolean
Attributes

Applies to