AssociatedMetadataProvider.GetMetadataForProperties Method (Object, Type)
.NET Framework (current version)
When overridden in a derived class, returns metadata for all properties.
Assembly: System.Web (in System.Web.dll)
override GetMetadataForProperties :
container:Object *
containerType:Type -> IEnumerable<ModelMetadata>
Parameters
- container
-
Type:
System.Object
The container.
- containerType
-
Type:
System.Type
The type of the container.
Return Value
Type: System.Collections.Generic.IEnumerable<ModelMetadata>Metadata for all properties.
| Exception | Condition |
|---|---|
| ArgumentNullException | The containerType parameter is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: