共用方式為


NSTextInputClient_Extensions.SetMarkedText 方法

定義

public static void SetMarkedText (this AppKit.INSTextInputClient This, Foundation.NSObject text, Foundation.NSRange selectedRange, Foundation.NSRange replacementRange);
static member SetMarkedText : AppKit.INSTextInputClient * Foundation.NSObject * Foundation.NSRange * Foundation.NSRange -> unit

參數

text
NSObject
selectedRange
NSRange
replacementRange
NSRange

適用於