CommandIdCollection.OnSet 方法
這個成員會覆寫 CollectionBase.OnSet(Int32, Object, Object)。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Protected Overrides Sub OnSet ( _
index As Integer, _
oldValue As Object, _
newValue As Object _
)
protected override void OnSet(
int index,
Object oldValue,
Object newValue
)
參數
- index
類型:System.Int32
- oldValue
類型:System.Object
- newValue
類型:System.Object
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。