RichTextBoxAutomationPeer.GetPattern(PatternInterface) 메서드

정의

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

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

patternInterfaceText이면 이 메서드는 ITextProvider 참조를 반환합니다. patternInterfaceScroll이면 이 메서드는 새 ScrollViewerAutomationPeer를 반환합니다.

적용 대상

추가 정보