次の方法で共有


WinText クラス

Windows フォーム のユーザー インターフェイス (UI) をテストするテキスト コントロールを表します。

継承階層

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinText

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

構文

'宣言
<CLSCompliantAttribute(True)> _
Public Class WinText _
    Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinText : WinControl
[CLSCompliantAttribute(true)]
public ref class WinText : public WinControl
[<CLSCompliantAttribute(true)>]
type WinText =  
    class 
        inherit WinControl 
    end
public class WinText extends WinControl

WinText 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
パブリック メソッド WinText() WinText クラスの新しいインスタンスを初期化します。
パブリック メソッド WinText(UITestControl) 指定した親コントロールを使用して、WinText クラスの新しいインスタンスを初期化します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ AccessibleDescription この WinControl の基本 IAccessible の記述を取得します。 (WinControl から継承されます。)
パブリック プロパティ AccessKey このコントロールに割り当てられたアクセス キーを取得します。 (WinControl から継承されます。)
パブリック プロパティ BoundingRectangle (UITestControl から継承されます。)
パブリック プロパティ ClassName (UITestControl から継承されます。)
パブリック プロパティ Container (UITestControl から継承されます。)
パブリック プロパティ ControlId このコントロールに割り当てられた ID を取得します。 (WinControl から継承されます。)
パブリック プロパティ ControlName このコントロールの名前を取得します。 (WinControl から継承されます。)
パブリック プロパティ ControlType (UITestControl から継承されます。)
パブリック プロパティ DisplayText このテキスト コントロールの表示テキストを取得します。
パブリック プロパティ Enabled (UITestControl から継承されます。)
パブリック プロパティ Exists (UITestControl から継承されます。)
パブリック プロパティ FilterProperties (UITestControl から継承されます。)
パブリック プロパティ FriendlyName (UITestControl から継承されます。)
パブリック プロパティ HasFocus (UITestControl から継承されます。)
パブリック プロパティ Height (UITestControl から継承されます。)
パブリック プロパティ HelpText このコントロールに割り当てられたヘルプ テキストを取得します。 (WinControl から継承されます。)
パブリック プロパティ IsTopParent (UITestControl から継承されます。)
パブリック プロパティ Left (UITestControl から継承されます。)
パブリック プロパティ Name (UITestControl から継承されます。)
パブリック プロパティ NativeElement (UITestControl から継承されます。)
パブリック プロパティ SearchConfigurations (UITestControl から継承されます。)
パブリック プロパティ SearchProperties (UITestControl から継承されます。)
プロテクト プロパティ SearchPropertiesSetExplicitly (UITestControl から継承されます。)
パブリック プロパティ State (UITestControl から継承されます。)
パブリック プロパティ TechnologyName (UITestControl から継承されます。)
パブリック プロパティ ToolTipText (WinControl から継承されます。)
パブリック プロパティ Top (UITestControl から継承されます。)
パブリック プロパティ TopParent (UITestControl から継承されます。)
パブリック プロパティ Width (UITestControl から継承されます。)
パブリック プロパティ WindowHandle (UITestControl から継承されます。)
パブリック プロパティ WindowTitles (UITestControl から継承されます。)

このページのトップへ

メソッド

  名前 説明
パブリック メソッド CaptureImage (UITestControl から継承されます。)
パブリック メソッド CopyFrom (UITestControl から継承されます。)
パブリック メソッド DrawHighlight (UITestControl から継承されます。)
パブリック メソッド EnsureClickable() (UITestControl から継承されます。)
パブリック メソッド EnsureClickable(Point) (UITestControl から継承されます。)
パブリック メソッド Equals (UITestControl から継承されます。)
プロテクト メソッド Finalize オブジェクトが、ガベージ コレクションによって収集される前に、リソースの解放とその他のクリーンアップ操作の実行を試みることができるようにします。 (Object から継承されます。)
パブリック メソッド Find (UITestControl から継承されます。)
パブリック メソッド FindMatchingControls (UITestControl から継承されます。)
パブリック メソッド GetChildren (UITestControl から継承されます。)
パブリック メソッド GetClickablePoint (UITestControl から継承されます。)
パブリック メソッド GetHashCode (UITestControl から継承されます。)
パブリック メソッド GetParent (UITestControl から継承されます。)
パブリック メソッド GetProperty (UITestControl から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
プロテクト メソッド GetUITestControlsForSearch このコントロール内の子コントロールの配列を取得します。 (WinControl から継承されます。)
プロテクト メソッド GetValidSearchProperties 検索プロパティの辞書をコントロールに対して有効取得します。 (WinControl から継承されます。)
プロテクト メソッド MemberwiseClone Object の簡易コピーを作成します。 (Object から継承されます。)
パブリック メソッド SetFocus (UITestControl から継承されます。)
パブリック メソッド SetProperty (UITestControl から継承されます。)
パブリック メソッド ToString (UITestControl から継承されます。)
パブリック メソッド TryFind (UITestControl から継承されます。)
パブリック メソッド TryGetClickablePoint(Point%) (UITestControl から継承されます。)
パブリック メソッド WaitForControlCondition(Predicate<UITestControl>) (UITestControl から継承されます。)
パブリック メソッド WaitForControlCondition(Predicate<UITestControl>, Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlEnabled() (UITestControl から継承されます。)
パブリック メソッド WaitForControlEnabled(Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlExist() (UITestControl から継承されます。)
パブリック メソッド WaitForControlExist(Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlNotExist() (UITestControl から継承されます。)
パブリック メソッド WaitForControlNotExist(Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlPropertyEqual(String, Object) (UITestControl から継承されます。)
パブリック メソッド WaitForControlPropertyEqual(String, Object, Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlPropertyNotEqual(String, Object) (UITestControl から継承されます。)
パブリック メソッド WaitForControlPropertyNotEqual(String, Object, Int32) (UITestControl から継承されます。)
パブリック メソッド WaitForControlReady() (UITestControl から継承されます。)
パブリック メソッド WaitForControlReady(Int32) (UITestControl から継承されます。)

このページのトップへ

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

Microsoft.VisualStudio.TestTools.UITesting.WinControls 名前空間

WinText.PropertyNames

WinControl