在派生类中重写时,将指定对象插入到集合中的指定索引处。
命名空间:  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
参数
- value
 类型:System.Object
 要在集合中插入的对象。
- index
 类型:System.Int32
 要插入对象的位置的索引。
返回值
类型:Microsoft.Windows.Design.PropertyEditing.PropertyValue
插入的对象的 PropertyValue。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间