DateTimeAutomationPeer.GetPattern(PatternInterface) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此 DateTimeAutomationPeer 的控件模式实现。
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
 
由要检索的元素实现的模式的类型。
返回
用于实现模式接口的对象;如果指定的模式接口不是由此同等对象实现的,则为 null。