ModelPropertyCollection.Item[String] Property
Definition
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 a ModelMetadata instance for the property corresponding to propertyName
.
public:
property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ default[System::String ^] { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(System::String ^ propertyName); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata this[string propertyName] { get; }
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata? this[string propertyName] { get; }
member this.Item(string) : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Default Public ReadOnly Property Item(propertyName As String) As ModelMetadata
Parameters
Property Value
The ModelMetadata instance for the property specified by propertyName
, or
null
if no match can be found.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for