ExtensionMarkerAttribute Classe

Definizione

Rappresenta un attributo utilizzato per contrassegnare i membri dell'estensione e associarli a un tipo di marcatore specifico (che fornisce informazioni dettagliate su un blocco di estensione e il relativo parametro ricevitore).

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public ref class ExtensionMarkerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)]
public sealed class ExtensionMarkerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)>]
type ExtensionMarkerAttribute = class
    inherit Attribute
Public NotInheritable Class ExtensionMarkerAttribute
Inherits Attribute
Ereditarietà
ExtensionMarkerAttribute
Attributi

Costruttori

Nome Descrizione
ExtensionMarkerAttribute(String)

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Inizializza una nuova istanza della classe ExtensionMarkerAttribute.

Proprietà

Nome Descrizione
Name

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Il nome del tipo di marcatore a cui è associato questo membro di estensione.

TypeId

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Se implementato in una classe derivata, ottiene un identificatore univoco per questo Attribute.

(Ereditato da Attribute)

Metodi

Nome Descrizione
Equals(Object)

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Restituisce un valore che indica se questa istanza è uguale a un oggetto specificato.

(Ereditato da Attribute)
GetHashCode()

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Restituisce il codice hash per questa istanza.

(Ereditato da Attribute)
GetType()

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
IsDefaultAttribute()

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Quando sottoposto a override in una classe derivata, indica se il valore di questa istanza è il valore predefinito per la classe derivata.

(Ereditato da Attribute)
Match(Object)

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Quando sottoposto a override in una classe derivata, restituisce un valore che indica se questa istanza è uguale a un oggetto specificato.

(Ereditato da Attribute)
MemberwiseClone()

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a