Partilhar via


VisualBasicParseOptions Construtor

Definição

Cria uma instância do 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)

Parâmetros

languageVersion
LanguageVersion

A versão do idioma do analisador.

documentationMode
DocumentationMode

O modo de documentação.

kind
SourceCodeKind

O tipo de código-fonte.SourceCodeKind

preprocessorSymbols
IEnumerable<KeyValuePair<String,Object>>

Uma sequência enumerável de KeyValuePair que representa símbolos de pré-processador.

Aplica-se a