获取或设置 ID 标记。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Property IdTag As String
Get
Set
public string IdTag { get; set; }
public:
property String^ IdTag {
String^ get ();
void set (String^ value);
}
member IdTag : string with get, set
function get IdTag () : String
function set IdTag (value : String)
属性值
类型:System.String
ID 字符串。
备注
设置此属性将引发 PropertyChanged 事件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。