Share via


ModelMetadata.ContainerType Property

Gets or sets the type of the container for the model.

Namespace:  System.Web.Http.Metadata
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public ReadOnly Property ContainerType As Type
    Get
'Usage
Dim instance As ModelMetadata
Dim value As Type

value = instance.ContainerType
public Type ContainerType { get; }
public:
property Type^ ContainerType {
    Type^ get ();
}
member ContainerType : Type
function get ContainerType () : Type

Property Value

Type: System.Type
The type of the container for the model.

See Also

Reference

ModelMetadata Class

System.Web.Http.Metadata Namespace