Table of Contents

Property RuntimeKey

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RuntimeKey

Returns a hash code that uniquely identifies the specified object instance during the application's lifetime. This value is guaranteed to be unique only for the lifetime of the object within the current application domain. When object is disposed, the same hash code may be returned for another object instance. This method is useful for scenarios where a stable identifier for an object instance is needed, such as in caching or tracking mechanisms, without relying on the object's own implementation of GetHashCode.

[Browsable(false)]
public int RuntimeKey { get; }

Property Value

int