ModelMetadata.ContainerType Property

Definition

Gets the type containing the property if this metadata is for a property; null otherwise.

public:
 property Type ^ ContainerType { Type ^ get(); };
public Type ContainerType { get; }
public Type? ContainerType { get; }
member this.ContainerType : Type
Public ReadOnly Property ContainerType As Type

Property Value

Applies to