KeyTypeAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Izinkan anggota ditandai sebagai 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
- Warisan
-
KeyTypeAttribute
- Atribut
Keterangan
Hanya dapat diterapkan untuk anggota jenis berikut: Byte, , UInt16, UInt32, UInt64
Konstruktor
| Nama | Deskripsi |
|---|---|
| KeyTypeAttribute() |
Menandai anggota sebagai KeyDataViewType. |
| KeyTypeAttribute(UInt64) |
Menandai anggota sebagai KeyDataViewType dan menentukan KeyDataViewType kardinalitas.
Jika atribut digunakan dengan jenis int, |