Deli putem


FileValidationAttribute Class

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.

Validates that a file can be created or is writable.

Remarks

This validation assumes that the property is a file.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field, Inherited := True)> _
PublicClassFileValidationAttribute _
    Inherits ValidationAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
publicclassFileValidationAttribute : ValidationAttribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Field, Inherited = true)]
publicref classFileValidationAttribute : public ValidationAttribute
publicclass FileValidationAttribute extends ValidationAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.ValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.FileValidationAttribute
        Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.ApplicationConfigurationFileValidationAttribute

See Also

FileValidationAttribute Members

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