TagProviderAttribute Classe

Definizione

Definisce un metodo da richiamare per generare tag di registrazione per un oggetto a cui si fa riferimento.

public ref class TagProviderAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)]
[System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")]
public sealed class TagProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)>]
[<System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")>]
type TagProviderAttribute = class
    inherit Attribute
Public NotInheritable Class TagProviderAttribute
Inherits Attribute
Ereditarietà
TagProviderAttribute
Attributi

Costruttori

Nome Descrizione
TagProviderAttribute(Type, String)

Inizializza una nuova istanza della TagProviderAttribute classe con il provider di tag personalizzati.

Proprietà

Nome Descrizione
OmitReferenceName

Ottiene o imposta un valore che indica se anteporre il nome del parametro o della proprietà al nome generato di ogni tag registrato.

ProviderMethod

Ottiene il nome del metodo che fornisce tag da registrare.

ProviderType

Ottiene l'oggetto Type contenente il metodo che fornisce tag da registrare.

Si applica a

Vedi anche