Share via


NSTextView.SetMarkedText 方法

定义

重载

SetMarkedText(NSObject, NSRange)
SetMarkedText(NSObject, NSRange, NSRange)

SetMarkedText(NSObject, NSRange)

[Foundation.Export("setMarkedText:selectedRange:")]
public virtual void SetMarkedText (Foundation.NSObject string, Foundation.NSRange selRange);
abstract member SetMarkedText : Foundation.NSObject * Foundation.NSRange -> unit
override this.SetMarkedText : Foundation.NSObject * Foundation.NSRange -> unit

参数

string
NSObject
selRange
NSRange

实现

属性

适用于

SetMarkedText(NSObject, NSRange, NSRange)

[Foundation.Export("setMarkedText:selectedRange:replacementRange:")]
public virtual void SetMarkedText (Foundation.NSObject text, Foundation.NSRange selectedRange, Foundation.NSRange replacementRange);
abstract member SetMarkedText : Foundation.NSObject * Foundation.NSRange * Foundation.NSRange -> unit
override this.SetMarkedText : Foundation.NSObject * Foundation.NSRange * Foundation.NSRange -> unit

参数

text
NSObject
selectedRange
NSRange
replacementRange
NSRange
属性

适用于