CachedDataAnnotationsMetadataAttributes 類別

定義

提供容器來快取 System.ComponentModel.DataAnnotations 屬性。

public class CachedDataAnnotationsMetadataAttributes
type CachedDataAnnotationsMetadataAttributes = class
Public Class CachedDataAnnotationsMetadataAttributes
繼承
CachedDataAnnotationsMetadataAttributes

建構函式

CachedDataAnnotationsMetadataAttributes(Attribute[])

初始化 CachedDataAnnotationsMetadataAttributes 類別的新執行個體。

屬性

DataType

取得資料型別。

Display

取得顯示。

DisplayColumn

取得顯示資料行。

DisplayFormat

取得顯示格式。

DisplayName

取得顯示名稱。

Editable

表示是否可以編輯資料欄位。

HiddenInput

取得隱藏的輸入。

ReadOnly

指出資料欄位是否為唯讀。

Required

指出是否需要資料欄位。

ScaffoldColumn

指出資料欄位是否為 scaffold。

UIHint

取得 UI 提示。

適用於