SelectorAutomationPeer.GetPattern(PatternInterface) SelectorAutomationPeer.GetPattern(PatternInterface) SelectorAutomationPeer.GetPattern(PatternInterface) Method

정의

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

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 PatternInterface PatternInterface

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

반환

patternInterfaceSelection이면 이 메서드에서 현재 인터페이스에 대한 포인터를 반환하고, 아니면 null을 반환합니다.If patternInterface is Selection, this method returns a pointer to the current instance; otherwise null.

적용 대상

추가 정보