语言

PeerApplicationCollection.SetItem(Int32, PeerApplication) 方法

定义

替换 PeerApplication 指定索引处。

protected:
 override void SetItem(int index, System::Net::PeerToPeer::Collaboration::PeerApplication ^ item);
protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerApplication item);
override this.SetItem : int * System.Net.PeerToPeer.Collaboration.PeerApplication -> unit
Protected Overrides Sub SetItem (index As Integer, item As PeerApplication)

参数

index
Int32

要替换的元素的从零开始的索引。

item
PeerApplication

指定索引处元素的新值。

注解

Null 不允许项目。

适用于

另请参阅