PropertyIdentifierCollection.InsertItem 메서드
새 속성 식별자를 컬렉션에 삽입합니다.
네임스페이스: Microsoft.Windows.Design.Model
어셈블리: Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)
구문
‘선언
Protected Overrides Sub InsertItem ( _
index As Integer, _
item As PropertyIdentifier _
)
protected override void InsertItem(
int index,
PropertyIdentifier item
)
protected:
virtual void InsertItem(
int index,
PropertyIdentifier item
) override
abstract InsertItem :
index:int *
item:PropertyIdentifier -> unit
override InsertItem :
index:int *
item:PropertyIdentifier -> unit
protected override function InsertItem(
index : int,
item : PropertyIdentifier
)
매개 변수
- index
형식: System.Int32
item을 삽입할 위치의 인덱스입니다.
- item
형식: Microsoft.Windows.Design.Metadata.PropertyIdentifier
삽입할 속성 식별자입니다.
예외
예외 | 상황 |
---|---|
ArgumentNullException | item는 nullNull 참조(Visual Basic의 경우 Nothing)입니다. |
ArgumentException | item 가 컬렉션에 이미 있는 경우 |
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
PropertyIdentifierCollection 클래스
Microsoft.Windows.Design.Model 네임스페이스