This member overrides CollectionBase.OnSet(Int32, Object, Object).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overrides Sub OnSet ( _
index As Integer, _
oldValue As Object, _
newValue As Object _
)
'使用
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
Me.OnSet(index, oldValue, newValue)
protected override void OnSet(
int index,
Object oldValue,
Object newValue
)
protected:
virtual void OnSet(
int index,
Object^ oldValue,
Object^ newValue
) override
protected override function OnSet(
index : int,
oldValue : Object,
newValue : Object
)
Parameters
- index
Type: System.Int32
- oldValue
Type: System.Object
- newValue
Type: System.Object
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.