Layer.OnKeyChanged Method

When the Name changes I need to notify it to the related keyed collections before changing it.
Protected Overridable Sub OnKeyChanged( _ 
ByVal newKey As String, _ 
Optional ByVal propertyName As String = null _ 
)
This language is not supported or no code example is available.
protected virtual void OnKeyChanged( 
string newKey
string propertyName = null 
)
This language is not supported or no code example is available.

Parameters

newKey
string

The new Name

propertyName
string

The property name that represent the key for the related keyed collections.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition