ModelMetadata Class

 

Represents the metadata class of the ModelMetadata.

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


public ref class ModelMetadata 

NameDescription
System_CAPS_pubmethodModelMetadata(ModelMetadataProvider^, Type^, Func<Object^>^, Type^, String^)

Initializes a new instance of the ModelMetadata class.

NameDescription
System_CAPS_pubpropertyAdditionalValues

Gets a dictionary that contains additional metadata about the model.

System_CAPS_pubpropertyContainerType

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

System_CAPS_pubpropertyConvertEmptyStringToNull

Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null.

System_CAPS_pubpropertyDescription

Gets or sets the description of the model.

System_CAPS_pubpropertyIsComplexType

Gets or sets a value that indicates whether the model is a complex type.

System_CAPS_pubpropertyIsNullableValueType

Gets a value that indicates whether the type is nullable.

System_CAPS_pubpropertyIsReadOnly

Gets or sets a value that indicates whether the model is read-only.

System_CAPS_pubpropertyModel

Gets the value of the model.

System_CAPS_pubpropertyModelType

Gets the type of the model.

System_CAPS_pubpropertyProperties

Gets a collection of model metadata objects that describe the properties of the model.

System_CAPS_pubpropertyPropertyName

Gets the property name.

System_CAPS_protpropertyProvider

Gets or sets the provider.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetDisplayName()

Gets the display name for the model.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidators(IEnumerable<ModelValidatorProvider^>^)

Gets a list of validators for the model.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: