.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

KeyAttribute Properties

Applied to properties of non-persistent classes. Specifies that a target property is a key property.
Name Description
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also