ExtractText.Index 属性

获取或设置要匹配的字符串的从零开始的索引。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property Index As Integer
    Get
    Set
public int Index { get; set; }
public:
property int Index {
    int get ();
    void set (int value);
}
member Index : int with get, set
function get Index () : int
function set Index (value : int)

属性值

类型:System.Int32
要匹配的字符串的索引。默认值为 0。

.NET Framework 安全性

请参见

参考

ExtractText 类

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空间