Share via


ModelMetadata.Container Property

 

A reference to the model's container object. Will be non-null if the model represents a property.

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

Syntax

public object Container { get; set; }
public:
property Object^ Container {
    Object^ get();
    void set(Object^ value);
}
member Container : Object with get, set
Public Property Container As Object

Property Value

Type: System.Object

See Also

ModelMetadata Class
System.Web.Mvc Namespace

Return to top