Share via


UriSchemeKeyedCollection.SetItem(Int32, Uri) 메서드

정의

컬렉션의 지정된 위치에 있는 URI를 새 URI로 바꿉니다.

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

매개 변수

index
Int32

컬렉션 내에서 URI의 삽입 위치를 지정하는 0부터 시작하는 인덱스입니다.

item
Uri

컬렉션에 저장할 Uri입니다.

예외

item URI가 절대 URI가 아닌 경우

item URI에 컬렉션의 체계 이름이 이미 포함되어 있는 경우

적용 대상