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 |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for