TagPrefixInfo.Namespace Property

 

Gets or sets the namespace in which the control resides.

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

[<ConfigurationPropertyAttribute("namespace")>]
member Namespace : string with get, set

Property Value

Type: System.String

The name of the namespace. The default is an empty string.

This property specifies the namespace in which the control resides. It applies only to custom controls.

The following code example shows how to use the Namespace property. This code example is part of a larger example provided for the PagesSection class.

.NET Framework
Available since 2.0
Return to top
Show: