取得或設定選定文字的長度。
命名空間: 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls 命名空間