UIElementAutomationPeer.GetPattern(PatternInterface) 메서드

정의

UIElement와 연결된 UIElementAutomationPeer의 컨트롤 패턴을 가져옵니다.Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

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

매개 변수

patternInterface
PatternInterface

열거형의 값입니다.A value from the enumeration.

반환

ISynchronizedInputProviderpatternInterface이면 SynchronizedInput 인터페이스를 구현하는 개체이고, 그렇지 않으면 null입니다.An object that implements the ISynchronizedInputProvider interface if patternInterface is SynchronizedInput; otherwise, null.

적용 대상