語言

PropertyValueCollection.Insert(Object, Int32) 方法

定義

在一組 PropertyValue 物件中插入指定的索引物件。

public:
 abstract System::Activities::Presentation::PropertyEditing::PropertyValue ^ Insert(System::Object ^ value, int index);
public abstract System.Activities.Presentation.PropertyEditing.PropertyValue Insert(object value, int index);
abstract member Insert : obj * int -> System.Activities.Presentation.PropertyEditing.PropertyValue
Public MustOverride Function Insert (value As Object, index As Integer) As PropertyValue

參數

value
Object

要加入收藏的物件。

index
Int32

指明將物件插入集合的位置的索引號。

傳回

A PropertyValue 代表新增的物件。

適用於