KeyTypeAttribute Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Consente di contrassegnare un membro come .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
- Ereditarietà
-
KeyTypeAttribute
- Attributi
Commenti
Può essere applicato solo per i membri dei tipi seguenti: Byte, UInt16, UInt32, UInt64
Costruttori
| Nome | Descrizione |
|---|---|
| KeyTypeAttribute() |
Contrassegna il membro come KeyDataViewType. |
| KeyTypeAttribute(UInt64) |
Contrassegna il membro come KeyDataViewType e specifica KeyDataViewType la cardinalità.
Nel caso dell'attributo usato con tipi int, l'oggetto |