Partager via


PropertyComparisonValidatorData.PropertyToCompare 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 name of the property that the represented PropertyComparisonValidator will use to retrieve the value to compare.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("propertyToCompare", DefaultValue := "")> _
PublicPropertyPropertyToCompareAs String
[ConfigurationPropertyAttribute("propertyToCompare", DefaultValue = "")]
public string PropertyToCompare { get; set; }
[ConfigurationPropertyAttribute(L"propertyToCompare", DefaultValue = L"")]
public:
property String^ PropertyToCompare {
    String^ get ();
    voidset (String^ value);
}
publicfunction getPropertyToCompare () : String
publicfunction setPropertyToCompare (value : String)

See Also

PropertyComparisonValidatorData 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.