Share via


PropertyValueCollection.Insert Method

When overridden in a derived class, inserts the specified object into the collection at the specified index.

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

Syntax

'Declaration
Public MustOverride Function Insert ( _
    value As Object, _
    index As Integer _
) As PropertyValue
public abstract PropertyValue Insert(
    Object value,
    int index
)
public:
virtual PropertyValue^ Insert(
    Object^ value, 
    int index
) abstract
abstract Insert : 
        value:Object * 
        index:int -> PropertyValue 
public abstract function Insert(
    value : Object, 
    index : int
) : PropertyValue

Parameters

  • value
    Type: System.Object
    The object to insert into the collection.
  • index
    Type: System.Int32
    The index of where to insert the object.

Return Value

Type: Microsoft.Windows.Design.PropertyEditing.PropertyValue
A PropertyValue for the inserted object.

.NET Framework Security

See Also

Reference

PropertyValueCollection Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture