次の方法で共有


TestElement.HumanReadableId プロパティ

ユーザー インターフェイスに表示されるこのテスト要素の ID を取得します。

名前空間:  Microsoft.VisualStudio.TestTools.Common
アセンブリ:  Microsoft.VisualStudio.QualityTools.Common (Microsoft.VisualStudio.QualityTools.Common.dll 内)

構文

'宣言
<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FDB7}")> _
<PropertyWindowAttribute> _
Public Overridable ReadOnly Property HumanReadableId As String
    Get
[UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FDB7}")]
[PropertyWindowAttribute]
public virtual string HumanReadableId { get; }
[UserVisiblePropertyAttribute(L"{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FDB7}")]
[PropertyWindowAttribute]
public:
virtual property String^ HumanReadableId {
    String^ get ();
}
[<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FDB7}")>]
[<PropertyWindowAttribute>]
abstract HumanReadableId : string
[<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FDB7}")>]
[<PropertyWindowAttribute>]
override HumanReadableId : string
function get HumanReadableId () : String

プロパティ値

型: System.String
ユーザー インターフェイスに表示されるこのテスト要素の ID。

実装

ITestElement.HumanReadableId

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間