PropertyValueCollection.Insert 方法

在派生类中重写时,将指定对象插入到集合中的指定索引处。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
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

参数

  • index
    类型:System.Int32
    要插入对象的位置的索引。

返回值

类型:Microsoft.Windows.Design.PropertyEditing.PropertyValue
插入的对象的 PropertyValue

.NET Framework 安全性

请参见

参考

PropertyValueCollection 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

WPF 设计器扩展性

属性编辑体系结构