WebFormsReferenceManager.RegisterTagPrefix Method

Adds a tag prefix for the specified type.

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

public:
virtual String^ RegisterTagPrefix (
	Type^ objectType
) abstract
public abstract String RegisterTagPrefix (
	Type objectType
)
public abstract function RegisterTagPrefix (
	objectType : Type
) : String
Not applicable.

Parameters

objectType

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

Return Value

The tag prefix string.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: