ProgressBarAutomationPeer.GetPattern(PatternInterface) メソッド

定義

このProgressBarに関連付けられているProgressBarAutomationPeerのコントロール パターンを取得します。

public:
 override System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public override object GetPattern(System.Windows.Automation.Peers.PatternInterface patternInterface);
override this.GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Overrides Function GetPattern (patternInterface As PatternInterface) As Object

パラメーター

patternInterface
PatternInterface

列挙体の値。

返品

patternInterfaceRangeValueされ、IsIndeterminatetrueされている場合、このメソッドはProgressBarAutomationPeerの現在のインスタンスを返します。それ以外の場合、このメソッドはnullを返します。

適用対象