Jaa


RelativeDateTimeValidatorData.UpperUnit 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 upper 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("upperUnit", DefaultValue := DateTimeUnit.None)> _
PublicPropertyUpperUnitAs DateTimeUnit
[ConfigurationPropertyAttribute("upperUnit", DefaultValue = DateTimeUnit.None)]
public DateTimeUnit UpperUnit { get; set; }
[ConfigurationPropertyAttribute(L"upperUnit", DefaultValue = DateTimeUnit::None)]
public:
property DateTimeUnit UpperUnit {
    DateTimeUnit get ();
    voidset (DateTimeUnit value);
}
publicfunction getUpperUnit () : DateTimeUnit
publicfunction setUpperUnit (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.