DoesNotReturnIfAttribute Classe

Definizione

Specifica che il metodo non restituisce se al parametro Boolean associato viene passato il valore specificato.

public ref class DoesNotReturnIfAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
public sealed class DoesNotReturnIfAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)>]
type DoesNotReturnIfAttribute = class
    inherit Attribute
Public NotInheritable Class DoesNotReturnIfAttribute
Inherits Attribute
Ereditarietà
DoesNotReturnIfAttribute
Attributi

Commenti

Per altre informazioni, vedere Analisi statica nullable nella guida di C#.

Costruttori

Nome Descrizione
DoesNotReturnIfAttribute(Boolean)

Inizializza una nuova istanza della DoesNotReturnIfAttribute classe con il valore del parametro specificato.

Proprietà

Nome Descrizione
ParameterValue

Ottiene il valore del parametro della condizione.

TypeId

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

(Ereditato da Attribute)

Metodi

Nome Descrizione
Equals(Object)

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

(Ereditato da Attribute)
GetHashCode()

Restituisce il codice hash per questa istanza.

(Ereditato da Attribute)
GetType()

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
IsDefaultAttribute()

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)

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()

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a

Vedi anche