Share via


WebFormsReferenceManager.RegisterTagPrefix(Type) Metodo

Definizione

Aggiunge un prefisso del tag per il tipo specificato.

public:
 abstract System::String ^ RegisterTagPrefix(Type ^ objectType);
public abstract string RegisterTagPrefix (Type objectType);
abstract member RegisterTagPrefix : Type -> string
Public MustOverride Function RegisterTagPrefix (objectType As Type) As String

Parametri

objectType
Type

Il tipo per cui aggiungere un prefisso del tag nel documento corrente.

Restituisce

La stringa del prefisso del tag.

Commenti

Se il prefisso del tag esiste già, non viene aggiunta una nuova direttiva register.

Si applica a

Vedi anche