Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UrlPropertyAttribute Constructor (String^)

 

Initializes a new instance of the UrlPropertyAttribute class, setting the Filter property to the specified string.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
UrlPropertyAttribute(
	String^ filter
)

Parameters

filter
Type: System::String^

A file filter associated with the URL-specific property.

An instance of a UrlPropertyAttribute class created with this constructor is initialized with the Filter property set to filter.

The following code example demonstrates a class that implements a URL-specific property. In this code example, a UrlPropertyAttribute attribute is applied to the TargetUrl property of the CustomHyperLinkControl class. The attribute sets a specific file filter for ASP.NET files.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft