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
參數
- value
型別:System.Object
要插入至集合的物件。
- index
型別:System.Int32
要插入物件的索引位置。
傳回值
型別:Microsoft.Windows.Design.PropertyEditing.PropertyValue
所插入物件的 PropertyValue。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間