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


PropertyIdentifierCollection.SetItem - метод

Задает идентификатор свойства по указанному индексу.

Пространство имен:  Microsoft.Windows.Design.Model
Сборка:  Microsoft.Windows.Design.Interaction (в Microsoft.Windows.Design.Interaction.dll)

Синтаксис

'Декларация
Protected Overrides Sub SetItem ( _
    index As Integer, _
    item As PropertyIdentifier _
)
protected override void SetItem(
    int index,
    PropertyIdentifier item
)
protected:
virtual void SetItem(
    int index, 
    PropertyIdentifier item
) override
abstract SetItem : 
        index:int * 
        item:PropertyIdentifier -> unit 
override SetItem : 
        index:int * 
        item:PropertyIdentifier -> unit 
protected override function SetItem(
    index : int, 
    item : PropertyIdentifier
)

Параметры

  • index
    Тип: System.Int32
    Индекс, для которого будет задано значение item.

Исключения

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

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

ArgumentException

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

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

См. также

Ссылки

PropertyIdentifierCollection Класс

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

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

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