Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ModelMetadata for elements of ModelType if that Type implements IEnumerable.
public:
abstract property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ ElementMetadata { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(); };
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ElementMetadata { get; }
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata? ElementMetadata { get; }
member this.ElementMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public MustOverride ReadOnly Property ElementMetadata As ModelMetadata
ModelMetadata for T
if ModelType implements
IEnumerable<T>. ModelMetadata for object
if ModelType
implements IEnumerable but not IEnumerable<T>. null
otherwise i.e. when
IsEnumerableType is false
.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in