System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)

The class defines an assembly-level attribute needed to specify tag prefix aliases for custom controls. This attribute is used by tools such as Microsoft Visual Studio to automatically generate a Register directive in the ASP.NET page where the custom controls are used.

This directive registers the tag prefix with a namespace. Moreover, it specifies the assembly where the custom control code implementation resides. With this directive in place, you can use custom controls in a Web page declaratively.

For more information about using attributes, see Extending Metadata Using Attributes.

Defines the tag prefix used in a Web page to identify custom controls. This class cannot be inherited.

- Constructor

  In defining your custom control, and prior to any code, you should invoke this class constructor as follows:

  [assembly:TagPrefix(namespace, tag)]

  Initializes a new instance of the class.

  A string that identifies the custom control namespace.
  A string that identifies the custom control prefix.
  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string' To be added

  Gets the namespace prefix for the specified control.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string' To be added

  Gets the tag prefix for the specified control.

  1.0.5000.0
  2.0.0.0