AutomationProperties.GetPatternProvider(PatternInterface) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定的模式实现 PatternInterface 。 如果自动对象不支持该模式,则返回 null。
public:
System::Object ^ GetPatternProvider(System::Windows::Automation::Peers::PatternInterface patternInterface);
public object GetPatternProvider (System.Windows.Automation.Peers.PatternInterface patternInterface);
member this.GetPatternProvider : System.Windows.Automation.Peers.PatternInterface -> obj
Public Function GetPatternProvider (patternInterface As PatternInterface) As Object
参数
- patternInterface
- PatternInterface