KeyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Denotes the key property or properties of an entity.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class KeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type KeyAttribute = class
inherit Attribute
Public NotInheritable Class KeyAttribute
Inherits Attribute
- Inheritance
-
KeyAttribute
- Attributes
Constructors
KeyAttribute(String) |
Initializes a new instance of the KeyAttribute class. |
KeyAttribute(String[]) |
Initializes a new instance of the KeyAttribute class. |
Properties
KeyNames |
Gets the names of key attributes. |