ModelMetadata.ContainerMetadata 属性

定义

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

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

属性值

适用于