Partager via


RelativeDateTimeValidatorData.LowerUnit Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the unit to use when calculating the relative lower bound for the represented RelativeDateTimeValidator.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("lowerUnit", DefaultValue := DateTimeUnit.None)> _
PublicPropertyLowerUnitAs DateTimeUnit
[ConfigurationPropertyAttribute("lowerUnit", DefaultValue = DateTimeUnit.None)]
public DateTimeUnit LowerUnit { get; set; }
[ConfigurationPropertyAttribute(L"lowerUnit", DefaultValue = DateTimeUnit::None)]
public:
property DateTimeUnit LowerUnit {
    DateTimeUnit get ();
    voidset (DateTimeUnit value);
}
publicfunction getLowerUnit () : DateTimeUnit
publicfunction setLowerUnit (value : DateTimeUnit)

See Also

RelativeDateTimeValidatorData Class

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.