PeerContactCollection.InsertItem(Int32, PeerContact) 메서드

정의

PeerContactCollection의 지정된 인덱스 또는 키에 새 PeerContact 요소를 삽입합니다.

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

매개 변수

index
Int32

바꿀 요소의 인덱스(0부터 시작)입니다.

item
PeerContact

지정한 인덱스에 있는 요소의 새 값입니다.

예외

제공된 PeerContactnull인 경우

설명

Null 항목이 허용 되지 않습니다.

적용 대상

추가 정보