获取或设置搜索的属性值。
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
语法
声明
Public Default Property Item ( _
propertyName As String _
) As String
public string this[
string propertyName
] { get; set; }
public:
property String^ default[String^ propertyName] {
String^ get (String^ propertyName);
void set (String^ propertyName, String^ value);
}
member Item :
propertyName:string -> string with get, set
JScript 不支持索引属性。
参数
- propertyName
类型:String
属性值
类型:String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。