System.Web.UI.UrlPropertyAttribute Class

Defines the attribute that controls use to identify string properties containing URL values. This class cannot be inherited.

See Also: UrlPropertyAttribute Members


[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class UrlPropertyAttribute : Attribute


The System.Web.UI.UrlPropertyAttribute attribute is an attribute applied to a control property that represents a URL. In addition to marking a string property as representing a URL, the System.Web.UI.UrlPropertyAttribute attribute defines the UrlPropertyAttribute.Filter property that identifies specific file types that can be used to filter against the property.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0