共用方式為


CommandIdCollection.OnSet Method

This member overrides CollectionBase.OnSet(Int32, Object, Object).

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overrides Sub OnSet ( _
    index As Integer, _
    oldValue As Object, _
    newValue As Object _
)
protected override void OnSet(
    int index,
    Object oldValue,
    Object newValue
)
protected:
virtual void OnSet(
    int index, 
    Object^ oldValue, 
    Object^ newValue
) override
abstract OnSet : 
        index:int * 
        oldValue:Object * 
        newValue:Object -> unit 
override OnSet : 
        index:int * 
        oldValue:Object * 
        newValue:Object -> unit 
protected override function OnSet(
    index : int, 
    oldValue : Object, 
    newValue : Object
)

Parameters

.NET Framework Security

See Also

Reference

CommandIdCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace