TextBoxAutomationPeer.GetPattern(PatternInterface) 메서드

정의

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

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

patternInterface가 지원되는 값이면 컨트롤을 지원하는 개체이고, 그렇지 않으면 null입니다.

설명

다음 표에서 어떤 합니다 GetPattern 메서드는 반환 값에 따라 patternInterface:

patternInterface 반환 값
Value 현재 인스턴스에 대 한 참조를 TextBoxAutomationPeer입니다.
Scroll ScrollViewerAutomationPeer에 대한 TextBoxAutomationPeer입니다.
Text ITextProvider 인터페이스를 구현하는 개체
SynchronizedInput ISynchronizedInputProvider 인터페이스를 구현하는 개체

적용 대상

추가 정보