แก้ไข

แชร์ผ่าน


IViewAutomationPeer.GetPattern(PatternInterface) Method

Definition

Gets the control pattern that is associated with the specified patternInterface.

public:
 System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
abstract member GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Function GetPattern (patternInterface As PatternInterface) As Object

Parameters

patternInterface
PatternInterface

A value in the enumeration.

Returns

Return the object that implements the control pattern. If this method returns null, the return value from GetPattern(PatternInterface) is used.

Applies to

See also