Partager via


ValidationResults.IsValid 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 the indication of whether the validation represented by the receiver was successful.

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

Syntax

'Declaration
PublicReadOnlyPropertyIsValidAs Boolean
public bool IsValid { get; }
public:
property bool IsValid {
    bool get ();
}
publicfunction getIsValid () : boolean

Remarks

An unsuccessful validation will be represented by a ValidationResult instance with ValidationResult elements, regardless of these elements' tags.

See Also

ValidationResults Class

Microsoft.Practices.EnterpriseLibrary.Validation 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.