次の方法で共有


UIObject.Descendants プロパティ

この UI オブジェクトに格納されているすべての UI オブジェクトのコレクションを取得します。

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

構文

'宣言
Public ReadOnly Property Descendants As Collection(Of UIObject)
    Get
public Collection<UIObject> Descendants { get; }
public:
property Collection<UIObject^>^ Descendants {
    Collection<UIObject^>^ get ();
}
member Descendants : Collection<UIObject>
function get Descendants () : Collection<UIObject>

プロパティ値

型: System.Collections.ObjectModel.Collection<UIObject>
UI オブジェクトのコレクション。

.NET Framework セキュリティ

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

参照

参照

UIObject クラス

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap 名前空間