VisualBasicCommandLineParser.ParseConditionalCompilationSymbols 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.
Parses Conditional Compilations Symbols. Given the string of conditional compilation symbols from the project system, parse them and merge them with an IReadOnlyDictionary ready to be given to the compilation.
public static System.Collections.Generic.IReadOnlyDictionary<string,object> ParseConditionalCompilationSymbols (string symbolList, out System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> diagnostics, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> symbols = default);
static member ParseConditionalCompilationSymbols : string * seq * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Collections.Generic.IReadOnlyDictionary<string, obj>
Public Shared Function ParseConditionalCompilationSymbols (symbolList As String, ByRef diagnostics As IEnumerable(Of Diagnostic), Optional symbols As IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing) As IReadOnlyDictionary(Of String, Object)
Parameters
- symbolList
- String
The conditional compilation string. This takes the form of a comma delimited list of NAME=Value pairs, where Value may be a quoted string or integer.
- diagnostics
- IEnumerable<Diagnostic>
A collection of reported diagnostics during parsing of symbolList, can be empty IEnumerable.
- symbols
- IEnumerable<KeyValuePair<String,Object>>
A collection representing existing symbols. Symbols parsed from symbolList
will be merged with this dictionary.
Returns
Exceptions
Invalid value provided.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示