KeyTypeAttribute 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.
Allow member to be marked as a KeyDataViewType.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class KeyTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type KeyTypeAttribute = class
inherit Attribute
Public NotInheritable Class KeyTypeAttribute
Inherits Attribute
- Inheritance
-
KeyTypeAttribute
- Attributes
Remarks
Can be applied only for member of following types: Byte, UInt16, UInt32, UInt64
Constructors
KeyTypeAttribute() |
Marks member as KeyDataViewType. |
KeyTypeAttribute(UInt64) |
Marks member as KeyDataViewType and specifies KeyDataViewType cardinality.
In case of the attribute being used with int types, the |