DateTimeAutomationPeer.ISelectionItemProvider.AddToSelection 方法

定義

將目前的項目加入至選取項目的集合。Adds the current element to the collection of selected items.

 virtual void System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection() = System::Windows::Automation::Provider::ISelectionItemProvider::AddToSelection;
void ISelectionItemProvider.AddToSelection ();
abstract member System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection : unit -> unit
override this.System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection : unit -> unit
Sub AddToSelection () Implements ISelectionItemProvider.AddToSelection

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 DateTimeAutomationPeer 執行個體轉換成 ISelectionItemProvider 介面時,才能使用這個成員。It can be used only when the DateTimeAutomationPeer instance is cast to an ISelectionItemProvider interface.

適用於