ToggleButtonAutomationPeer.GetPattern(PatternInterface) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 ToggleButton컨트롤과 연결된 컨트롤 패턴을 ToggleButtonAutomationPeer 가져옵니다.
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
열거형 값 중 하나입니다.
반품
이 경우 patternInterface 이 메서드는 Toggle현재 인스턴스를 반환하고 ToggleButtonAutomationPeer, 그렇지 않으면 null반환합니다.