PredefinedPreprocessorSymbols.AddPredefinedPreprocessorSymbols 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.
Surcharges
AddPredefinedPreprocessorSymbols(OutputKind, IEnumerable<KeyValuePair<String,Object>>) |
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus. |
AddPredefinedPreprocessorSymbols(OutputKind, KeyValuePair<String,Object>[]) |
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus. |
AddPredefinedPreprocessorSymbols(OutputKind, ImmutableArray<KeyValuePair<String,Object>>) |
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus. |
AddPredefinedPreprocessorSymbols(OutputKind, IEnumerable<KeyValuePair<String,Object>>)
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus.
public:
static System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> AddPredefinedPreprocessorSymbols(Microsoft::CodeAnalysis::OutputKind kind, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ symbols);
public static System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,object>> AddPredefinedPreprocessorSymbols (Microsoft.CodeAnalysis.OutputKind kind, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> symbols);
static member AddPredefinedPreprocessorSymbols : Microsoft.CodeAnalysis.OutputKind * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, obj>>
Public Function AddPredefinedPreprocessorSymbols (kind As OutputKind, symbols As IEnumerable(Of KeyValuePair(Of String, Object))) As ImmutableArray(Of KeyValuePair(Of String, Object))
Paramètres
- kind
- OutputKind
Type de sortie duquel dériver la valeur du symbole TARGET.
- symbols
- IEnumerable<KeyValuePair<String,Object>>
Collection de paires KeyValue représentant des symboles existants.
Retours
Tableau de symboles qui incluent VBC_VER et TARGET.
S’applique à
AddPredefinedPreprocessorSymbols(OutputKind, KeyValuePair<String,Object>[])
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus.
public:
static System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> AddPredefinedPreprocessorSymbols(Microsoft::CodeAnalysis::OutputKind kind, ... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ symbols);
public static System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,object>> AddPredefinedPreprocessorSymbols (Microsoft.CodeAnalysis.OutputKind kind, params System.Collections.Generic.KeyValuePair<string,object>[] symbols);
static member AddPredefinedPreprocessorSymbols : Microsoft.CodeAnalysis.OutputKind * System.Collections.Generic.KeyValuePair<string, obj>[] -> System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, obj>>
Public Function AddPredefinedPreprocessorSymbols (kind As OutputKind, ParamArray symbols As KeyValuePair(Of String, Object)()) As ImmutableArray(Of KeyValuePair(Of String, Object))
Paramètres
- kind
- OutputKind
Type de sortie duquel dériver la valeur du symbole TARGET.
- symbols
- KeyValuePair<String,Object>[]
Tableau de paramètres de paires KeyValue représentant des symboles existants.
Retours
Tableau de symboles qui incluent VBC_VER et TARGET.
S’applique à
AddPredefinedPreprocessorSymbols(OutputKind, ImmutableArray<KeyValuePair<String,Object>>)
Ajoute des symboles de préprocesseur prédéfinis VBC_VER et TARGET à une liste donnée de symboles de préprocesseur s’il n’est pas encore inclus.
public:
static System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> AddPredefinedPreprocessorSymbols(Microsoft::CodeAnalysis::OutputKind kind, System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> symbols);
public static System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,object>> AddPredefinedPreprocessorSymbols (Microsoft.CodeAnalysis.OutputKind kind, System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,object>> symbols);
static member AddPredefinedPreprocessorSymbols : Microsoft.CodeAnalysis.OutputKind * System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, obj>>
Public Function AddPredefinedPreprocessorSymbols (kind As OutputKind, symbols As ImmutableArray(Of KeyValuePair(Of String, Object))) As ImmutableArray(Of KeyValuePair(Of String, Object))
Paramètres
- kind
- OutputKind
Type de sortie duquel dériver la valeur du symbole TARGET.
- symbols
- ImmutableArray<KeyValuePair<String,Object>>
ImmutableArray de paires KeyValue représentant des symboles existants.
Retours
Tableau de symboles qui incluent VBC_VER et TARGET.
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