Jaa


FileValidationAttribute.ContextPath 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.

Returns the path which should be used to validate relative paths.

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

Syntax

'Declaration
ProtectedOverridableReadOnlyPropertyContextPathAs String
protectedvirtual string ContextPath { get; }
protected:
virtualproperty String^ ContextPath {
    String^ get ();
}
protectedfunction getContextPath () : String

Field Value

The path from the current configuration file.

See Also

FileValidationAttribute Class

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.