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.
- item
Type: Microsoft.Windows.Design.Metadata.PropertyIdentifier
The property identifier to insert.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is nulla null reference (Nothing in Visual Basic). |
ArgumentException | item already exists in the collection. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PropertyIdentifierCollection Class
Microsoft.Windows.Design.Model Namespace