Поделиться через


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.

Исключения

Исключение Условие
ArgumentNullException

Параметр item имеет значение nullпустая ссылка (Nothing в Visual Basic).

ArgumentException

item уже присутствует в коллекции.

Безопасность платформы .NET Framework

См. также

Ссылки

PropertyIdentifierCollection Класс

Microsoft.Windows.Design.Model - пространство имен

Другие ресурсы

Архитектура расширяемости конструктора WPF