共用方式為


DefaultModelMetadata.Attributes 屬性

定義

取得目前實例的屬性集合。

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ Attributes { Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes Attributes { get; }
member this.Attributes : Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes
Public ReadOnly Property Attributes As ModelAttributes

屬性值

適用於