ProgressBarAutomationPeer.GetPattern(PatternInterface) 메서드

정의

ProgressBarAutomationPeer와 연결된 ProgressBar의 컨트롤 패턴을 가져옵니다.

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

열거형 값입니다.

반환

Object

patternInterfaceRangeValue이고 IsIndeterminatetrue인 경우 이 메서드에서 ProgressBarAutomationPeer의 현재 인스턴스를 반환하고, 그렇지 않으면 이 메서드에서 null을 반환합니다.

적용 대상