WindowPattern.Current プロパティ

定義

このWindowPatternの現在のUI オートメーション プロパティ値を取得します。

public:
 property System::Windows::Automation::WindowPattern::WindowPatternInformation Current { System::Windows::Automation::WindowPattern::WindowPatternInformation get(); };
public System.Windows.Automation.WindowPattern.WindowPatternInformation Current { get; }
member this.Current : System.Windows.Automation.WindowPattern.WindowPatternInformation
Public ReadOnly Property Current As WindowPattern.WindowPatternInformation

プロパティ値

コントロール パターンの現在のUI オートメーションプロパティ値を含む構造体。

注釈

現在の値を取得するには、AutomationElement参照を持つFullからのパターンである必要があります。 AutomationElementを使用してNoneが取得された場合、キャッシュされたデータのみが格納され、プロパティの現在の値を取得しようとすると例外が発生します。 Cachedを使用して、CacheRequestを使用して以前に指定したプロパティのキャッシュされた値を取得します。

使用可能なプロパティとその使用方法については、 WindowPattern.WindowPatternInformationを参照してください。

適用対象