AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) Method
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.
When overridden in a derived class, returns metadata for all properties.
public:
override System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
public override System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
override this.GetMetadataForProperties : obj * Type -> seq<System.Web.ModelBinding.ModelMetadata>
Public Overrides Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)
Parameters
- container
- Object
The container.
- containerType
- Type
The type of the container.
Returns
Metadata for all properties.
Exceptions
The containerType
parameter is null
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.