語言

RepeatButtonAutomationPeer.GetPattern(PatternInterface) 方法

定義

取得與此ContentElement相關聯的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

一個列舉中的數值。

傳回

若patternInterface為 ,Invoke此方法回傳當前實例RepeatButtonAutomationPeer的參考;否則 。 null

適用於

另請參閱