次の方法で共有


TestElement.Owner プロパティ

このテスト要素の所有者の名前を取得または設定します。

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

構文

'宣言
<UserVisiblePropertyAttribute("{5220C4AB-D3A7-48f1-8467-062E55CB4917}")> _
<GroupingPropertyAttribute> _
<PropertyWindowAttribute> _
Public Overridable Property Owner As String
[UserVisiblePropertyAttribute("{5220C4AB-D3A7-48f1-8467-062E55CB4917}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
public virtual string Owner { get; set; }
[UserVisiblePropertyAttribute(L"{5220C4AB-D3A7-48f1-8467-062E55CB4917}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
public:
virtual property String^ Owner {
    String^ get ();
    void set (String^ value);
}
[<UserVisiblePropertyAttribute("{5220C4AB-D3A7-48f1-8467-062E55CB4917}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute>]
abstract Owner : string with get, set
[<UserVisiblePropertyAttribute("{5220C4AB-D3A7-48f1-8467-062E55CB4917}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute>]
override Owner : string with get, set
function get Owner () : String
function set Owner (value : String)

プロパティ値

型 : System.String
このテスト要素の所有者の名前。

実装

ITestElement.Owner

.NET Framework セキュリティ

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

参照

関連項目

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間