AutomationPeer.GetPattern(PatternInterface) 方法

定義

取得與指定 PatternInterface相關聯的控制項模式。

public:
 virtual Platform::Object ^ GetPattern(PatternInterface patternInterface) = GetPattern;
IInspectable GetPattern(PatternInterface const& patternInterface);
public object GetPattern(PatternInterface patternInterface);
function getPattern(patternInterface)
Public Function GetPattern (patternInterface As PatternInterface) As Object

參數

patternInterface
PatternInterface

來自 PatternInterface列舉的值。

傳回

Object

Platform::Object

IInspectable

實作模式介面的物件;如果對等不支援這個介面,則為 null。

適用於