共用方式為


SilverlightEdit.SelectionLength 屬性

取得或設定選定文字的長度。

命名空間:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

語法

'宣告
Public Overridable Property SelectionLength As Integer
    Get
    Set
public virtual int SelectionLength { get; set; }
public:
virtual property int SelectionLength {
    int get ();
    void set (int value);
}
abstract SelectionLength : int with get, set
override SelectionLength : int with get, set
function get SelectionLength () : int
function set SelectionLength (value : int)

屬性值

型別:System.Int32
所選取之文字的長度。

.NET Framework 安全性

請參閱

參考

SilverlightEdit 類別

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls 命名空間