Share via


PropertyIdentifierCollection.SetItem Method

Sets the property identifier at the specified index.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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
)

Parameters

  • index
    Type: System.Int32
    The index that will be set to item.

Exceptions

Exception Condition
ArgumentNullException

item is nulla null reference (Nothing in Visual Basic).

ArgumentException

item already exists in the collection.

.NET Framework Security

See Also

Reference

PropertyIdentifierCollection Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture