ValidationOptionAttribute Classe

Definizione

Attenzione

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Attributo personalizzato che contiene ValidationOption informazioni. La classe non può essere ereditata.

public ref class ValidationOptionAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Event | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ValidationOptionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Event | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ValidationOptionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Event | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ValidationOptionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Event | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ValidationOptionAttribute = class
    inherit Attribute
Public NotInheritable Class ValidationOptionAttribute
Inherits Attribute
Ereditarietà
ValidationOptionAttribute
Attributi

Commenti

Note

Questo materiale illustra i tipi e gli spazi dei nomi obsoleti. Per altre informazioni, vedere Deprecated Types in Windows Workflow Foundation 4.5.

Questo attributo deve essere usato solo come opzione di proprietà di dipendenza. Gli attributi vengono ignorati se dichiarati in una proprietà .NET.

l'oggetto ValidationOptionAttribute deve essere usato solo nelle metaproprietà. Verrà ignorato per le proprietà dell'istanza. Per altre informazioni, vedere Uso delle proprietà dell'attività per altri dettagli.

ValidationOptionAttribute Se non viene specificato , il comportamento predefinito è ValidationOption.Optional.

Costruttori

Nome Descrizione
ValidationOptionAttribute(ValidationOption)
Obsoleti.

Inizializza una nuova istanza della ValidationOptionAttribute classe con un valore per ValidationOption.

Proprietà

Nome Descrizione
TypeId
Obsoleti.

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

(Ereditato da Attribute)
ValidationOption
Obsoleti.

Ottiene il valore dell'oggetto ValidationOption associato a questa istanza.

Metodi

Nome Descrizione
Equals(Object)
Obsoleti.

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

(Ereditato da Attribute)
GetHashCode()
Obsoleti.

Restituisce il codice hash per questa istanza.

(Ereditato da Attribute)
GetType()
Obsoleti.

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
IsDefaultAttribute()
Obsoleti.

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)
Obsoleti.

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

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()
Obsoleti.

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Implementazioni dell'interfaccia esplicita

Nome Descrizione
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Obsoleti.

Esegue il mapping di un set di nomi a un set corrispondente di identificatori dispatch.

(Ereditato da Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Obsoleti.

Recupera le informazioni sul tipo per un oggetto, che può essere utilizzato per ottenere le informazioni sul tipo per un'interfaccia.

(Ereditato da Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Obsoleti.

Recupera il numero di interfacce di informazioni sul tipo fornite da un oggetto (0 o 1).

(Ereditato da Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Obsoleti.

Fornisce l'accesso alle proprietà e ai metodi esposti da un oggetto .

(Ereditato da Attribute)

Si applica a