SelectionChangedEventArgs 构造函数

定义

初始化 SelectionChangedEventArgs 类的新实例。

public:
 SelectionChangedEventArgs(IVector<Platform::Object ^> ^ removedItems, IVector<Platform::Object ^> ^ addedItems);
 SelectionChangedEventArgs(IVector<IInspectable> const& removedItems, IVector<IInspectable> const& addedItems);
public SelectionChangedEventArgs(IList<object> removedItems, IList<object> addedItems);
function SelectionChangedEventArgs(removedItems, addedItems)
Public Sub New (removedItems As IList(Of Object), addedItems As IList(Of Object))

参数

removedItems

IVector<Object>

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

设置初始 AddedItems 值。 可能为 null。

addedItems

IVector<Object>

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

设置初始 RemovedItems 值。 可能为 null。

适用于