IConventionSequence.SetIncrementBy(Nullable<Int32>, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la quantité incrémentée pour obtenir chaque nouvelle valeur dans la séquence.
public void SetIncrementBy (int? incrementBy, bool fromDataAnnotation = false);
public int? SetIncrementBy (int? incrementBy, bool fromDataAnnotation = false);
abstract member SetIncrementBy : Nullable<int> * bool -> unit
abstract member SetIncrementBy : Nullable<int> * bool -> Nullable<int>
Public Sub SetIncrementBy (incrementBy As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
Public Function SetIncrementBy (incrementBy As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Paramètres
Quantité incrémentée pour obtenir chaque nouvelle valeur de la séquence.
- fromDataAnnotation
- Boolean
Indique si la configuration a été spécifiée à l’aide d’une annotation de données.
Retours
Valeur configurée.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour