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.

ConstructorNeedsTagAttribute Constructor (Boolean)

 

Initializes a new instance of the ConstructorNeedsTagAttribute class.

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

public:
ConstructorNeedsTagAttribute(
	bool needsTag
)

Parameters

needsTag
Type: System::Boolean

true to add a tag to a control; otherwise, false.

The following code example creates a simple custom control whose tag name is defined at run time. The following is the command line used to build the executable.

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

The following code example uses the previous custom control. Notice that the values shown in the Register directive reflect the previous command line.

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

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