DefaultModelMetadata.ContainerMetadata 属性

定义

如果此元数据 ContainerType 用于属性,则获取 的元数据; null 否则为 。

public:
 virtual property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ ContainerMetadata { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(); };
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ContainerMetadata { get; }
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata? ContainerMetadata { get; }
member this.ContainerMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public Overrides ReadOnly Property ContainerMetadata As ModelMetadata

属性值

适用于