PredefinedPreprocessorSymbols.AddPredefinedPreprocessorSymbols Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddPredefinedPreprocessorSymbols(OutputKind, IEnumerable<KeyValuePair<String,Object>>) |
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet. |
AddPredefinedPreprocessorSymbols(OutputKind, KeyValuePair<String,Object>[]) |
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet. |
AddPredefinedPreprocessorSymbols(OutputKind, ImmutableArray<KeyValuePair<String,Object>>) |
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet. |
AddPredefinedPreprocessorSymbols(OutputKind, IEnumerable<KeyValuePair<String,Object>>)
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet.
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))
Parameters
- kind
- OutputKind
The Output kind to derive the value of TARGET symbol from.
- symbols
- IEnumerable<KeyValuePair<String,Object>>
A collection of KeyValue pairs representing existing symbols.
Returns
Array of symbols that include VBC_VER and TARGET.
Applies to
AddPredefinedPreprocessorSymbols(OutputKind, KeyValuePair<String,Object>[])
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet.
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))
Parameters
- kind
- OutputKind
The Output kind to derive the value of TARGET symbol from.
- symbols
- KeyValuePair<String,Object>[]
An parameter array of KeyValue pairs representing existing symbols.
Returns
Array of symbols that include VBC_VER and TARGET.
Applies to
AddPredefinedPreprocessorSymbols(OutputKind, ImmutableArray<KeyValuePair<String,Object>>)
Adds predefined preprocessor symbols VBC_VER and TARGET to given list of preprocessor symbols if not included yet.
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))
Parameters
- kind
- OutputKind
The Output kind to derive the value of TARGET symbol from.
- symbols
- ImmutableArray<KeyValuePair<String,Object>>
An ImmutableArray of KeyValue pairs representing existing symbols.
Returns
Array of symbols that include VBC_VER and TARGET.