FrameworkTextComposition.ResultOffset 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當事件發生時 TextInput ,會取得最終文本的偏移量。
public:
property int ResultOffset { int get(); };
public int ResultOffset { get; }
member this.ResultOffset : int
Public ReadOnly Property ResultOffset As Integer
屬性值
事件發生時 TextInput 最終文本的偏移量。
備註
當 TextInputStart or TextInputUpdate 事件發生時, ResultLength 為 -1。
ResultOffset 於 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。