AssociatedMetadataProvider.GetMetadataForProperties Method (Object, Type)

.NET Framework (current version)
 

When overridden in a derived class, returns metadata for all properties.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public override IEnumerable<ModelMetadata> GetMetadataForProperties(
	object container,
	Type containerType
)

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
Return to top
Show: