ContentElementAutomationPeer.GetPattern(PatternInterface) 메서드

정의

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

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

열거형 값 중 하나입니다.One of the enumeration values.

반환

Object

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

적용 대상