共用方式為


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 設計工具擴充性

屬性編輯架構