CachedDataAnnotationsModelMetadata Methods

 

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

NameDescription
System_CAPS_protmethodComputeConvertEmptyStringToNull()

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

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeConvertEmptyStringToNull().)

System_CAPS_protmethodComputeDataTypeName()

Gets meta information about the data type.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeDataTypeName().)

System_CAPS_protmethodComputeDescription()

Gets the description of the model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeDescription().)

System_CAPS_protmethodComputeDisplayFormatString()

Gets the display format string for the model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeDisplayFormatString().)

System_CAPS_protmethodComputeDisplayName()

Gets the display name of the model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeDisplayName().)

System_CAPS_protmethodComputeEditFormatString()

Gets the edit format string of the model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeEditFormatString().)

System_CAPS_protmethodComputeHasNonDefaultEditFormat()

Gets a value that indicates whether the model uses a non-default edit format.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeHasNonDefaultEditFormat().)

System_CAPS_protmethodComputeHideSurroundingHtml()

Gets a value that indicates whether the model object should be rendered using associated HTML elements.

Gets a value that indicates whether the model object should be rendered using associated HTML elements.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeHideSurroundingHtml().)

System_CAPS_protmethodComputeHtmlEncode()
System_CAPS_protmethodComputeIsReadOnly()

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

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeIsReadOnly().)

System_CAPS_protmethodComputeIsRequired()

Gets a value that indicates whether the model is required.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeIsRequired().)

System_CAPS_protmethodComputeNullDisplayText()

Gets the string to display for null values.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeNullDisplayText().)

System_CAPS_protmethodComputeOrder()

Gets a value that represents order of the current metadata.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeOrder().)

System_CAPS_protmethodComputeShortDisplayName()

Gets a short display name.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeShortDisplayName().)

System_CAPS_protmethodComputeShowForDisplay()

Gets a value that indicates whether the property should be displayed in read-only views such as list and detail views.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeShowForDisplay().)

System_CAPS_protmethodComputeShowForEdit()

Gets or sets a value that indicates whether the model should be displayed in editable views.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeShowForEdit().)

System_CAPS_protmethodComputeSimpleDisplayText()

Gets the simple display string for the model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeSimpleDisplayText().)

System_CAPS_protmethodComputeTemplateHint()

Gets a hint that suggests what template to use for this model.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeTemplateHint().)

System_CAPS_protmethodComputeWatermark()

Gets a value that can be used as a watermark.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeWatermark().)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetDisplayName()

Gets the display name for the model.(Inherited from ModelMetadata.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetSimpleDisplayText()

Gets or sets the simple display string for the model.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidators(ControllerContext^)

Gets a list of validators for the model.(Inherited from ModelMetadata.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Return to top
Show: