Share via


PropertyIdentifierCollection.InsertItem Method

Inserts a new property identifier in the collection.

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

Syntax

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

Parameters

  • index
    Type: System.Int32
    The index at which item will be inserted.

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