KeyChangedEventArgs Class

EventArgs to notify the new key for a IKeyedCollectionItem<T>.
Public Class KeyChangedEventArgs 
Inherits PropertyChangedEventArgs
This language is not supported or no code example is available.
public class KeyChangedEventArgs : PropertyChangedEventArgs
This language is not supported or no code example is available.
Name Description
Public constructor KeyChangedEventArgs(string, string) Standard constructor.
Top
Name Description
Public property NewKey The new key for a IKeyedCollectionItem<T>.
Public property PropertyName Gets the name of the property that changed. (inherited from PropertyChangedEventArgs).
Top
Methods
 
Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Remarks
 
The new key must be specified before changing it to the item.

.NET Framework

Supported in: 4.8

In this article

Definition