Condividi tramite


IConventionSequence.SetType(Type, Boolean) Metodo

Definizione

Imposta i Type valori restituiti dalla sequenza.

public Type SetType (Type type, bool fromDataAnnotation = false);
public Type? SetType (Type? type, bool fromDataAnnotation = false);
abstract member SetType : Type * bool -> Type
Public Function SetType (type As Type, Optional fromDataAnnotation As Boolean = false) As Type

Parametri

type
Type

Valore Type restituito dalla sequenza.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a