VisualBasicParseOptions Constructor
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.
Creates an instance of VisualBasicParseOptions.
public VisualBasicParseOptions (Microsoft.CodeAnalysis.VisualBasic.LanguageVersion languageVersion = Microsoft.CodeAnalysis.VisualBasic.LanguageVersion.Default, Microsoft.CodeAnalysis.DocumentationMode documentationMode = Microsoft.CodeAnalysis.DocumentationMode.Parse, Microsoft.CodeAnalysis.SourceCodeKind kind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> preprocessorSymbols = default);
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions : Microsoft.CodeAnalysis.VisualBasic.LanguageVersion * Microsoft.CodeAnalysis.DocumentationMode * Microsoft.CodeAnalysis.SourceCodeKind * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions
Public Sub New (Optional languageVersion As LanguageVersion = Microsoft.CodeAnalysis.VisualBasic.LanguageVersion.Default, Optional documentationMode As DocumentationMode = Microsoft.CodeAnalysis.DocumentationMode.Parse, Optional kind As SourceCodeKind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, Optional preprocessorSymbols As IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing)
Parameters
- languageVersion
- LanguageVersion
The parser language version.
- documentationMode
- DocumentationMode
The documentation mode.
- kind
- SourceCodeKind
The kind of source code.SourceCodeKind
- preprocessorSymbols
- IEnumerable<KeyValuePair<String,Object>>
An enumerable sequence of KeyValuePair representing preprocessor symbols.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.