ModelMetadata.MetadataKind 属性

定义

获取一个值,该值指示由当前实例表示的元数据元素的类型。

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataKind MetadataKind { Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataKind get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind MetadataKind { get; }
member this.MetadataKind : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind
Public ReadOnly Property MetadataKind As ModelMetadataKind

属性值

适用于