WebFormsReferenceManager.RegisterTagPrefix Method (Type)

 

Adds a tag prefix for the specified type.

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

public abstract string RegisterTagPrefix(
	Type objectType
)

Parameters

objectType
Type: System.Type

The type to add a tag prefix for in the current document.

Return Value

Type: System.String

The tag prefix string.

If the tag prefix already exists, then a new register directive is not added.

.NET Framework
Available since 2.0
Return to top
Show: