VisualBasicCompilationOptions Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
public:
VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider)
Параметры
- outputKind
- OutputKind
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- globalImports
- IEnumerable<GlobalImport>
- rootNamespace
- String
- optionStrict
- OptionStrict
- optionInfer
- Boolean
- optionExplicit
- Boolean
- optionCompareText
- Boolean
- parseOptions
- VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Атрибуты
Применяется к
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
public:
VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, deterministic As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider)
Параметры
- outputKind
- OutputKind
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- globalImports
- IEnumerable<GlobalImport>
- rootNamespace
- String
- optionStrict
- OptionStrict
- optionInfer
- Boolean
- optionExplicit
- Boolean
- optionCompareText
- Boolean
- parseOptions
- VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Атрибуты
Применяется к
VisualBasicCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string moduleName = default, string mainTypeName = default, string scriptClassName = "Script", System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports = default, string rootNamespace = default, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, bool optionInfer = true, bool optionExplicit = true, bool optionCompareText = false, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, bool embedVbCoreRuntime = false, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = true, string cryptoKeyContainer = default, string cryptoKeyFile = default, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey = default, bool? delaySign = default, Microsoft.CodeAnalysis.Platform platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption = Microsoft.CodeAnalysis.ReportDiagnostic.Default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions = default, bool concurrentBuild = true, bool deterministic = false, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver = default, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver = default, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver = default, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer = default, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider = default);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, reportSuppressedDiagnostics As Boolean, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = "Script", Optional globalImports As IEnumerable(Of GlobalImport) = Nothing, Optional rootNamespace As String = Nothing, Optional optionStrict As OptionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, Optional optionInfer As Boolean = true, Optional optionExplicit As Boolean = true, Optional optionCompareText As Boolean = false, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional embedVbCoreRuntime As Boolean = false, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = true, Optional cryptoKeyContainer As String = Nothing, Optional cryptoKeyFile As String = Nothing, Optional cryptoPublicKey As ImmutableArray(Of Byte) = Nothing, Optional delaySign As Nullable(Of Boolean) = Nothing, Optional platform As Platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Optional generalDiagnosticOption As ReportDiagnostic = Microsoft.CodeAnalysis.ReportDiagnostic.Default, Optional specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)) = Nothing, Optional concurrentBuild As Boolean = true, Optional deterministic As Boolean = false, Optional xmlReferenceResolver As XmlReferenceResolver = Nothing, Optional sourceReferenceResolver As SourceReferenceResolver = Nothing, Optional metadataReferenceResolver As MetadataReferenceResolver = Nothing, Optional assemblyIdentityComparer As AssemblyIdentityComparer = Nothing, Optional strongNameProvider As StrongNameProvider = Nothing)
Параметры
- outputKind
- OutputKind
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- globalImports
- IEnumerable<GlobalImport>
- rootNamespace
- String
- optionStrict
- OptionStrict
- optionInfer
- Boolean
- optionExplicit
- Boolean
- optionCompareText
- Boolean
- parseOptions
- VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Атрибуты
Применяется к
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean)
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
public:
VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider, bool publicSign, bool reportSuppressedDiagnostics);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider, bool publicSign, bool reportSuppressedDiagnostics);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider * bool * bool -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, deterministic As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider, publicSign As Boolean, reportSuppressedDiagnostics As Boolean)
Параметры
- outputKind
- OutputKind
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- globalImports
- IEnumerable<GlobalImport>
- rootNamespace
- String
- optionStrict
- OptionStrict
- optionInfer
- Boolean
- optionExplicit
- Boolean
- optionCompareText
- Boolean
- parseOptions
- VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- publicSign
- Boolean
- reportSuppressedDiagnostics
- Boolean
- Атрибуты
Применяется к
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean, MetadataImportOptions)
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
- Исходный код:
- VisualBasicCompilationOptions.vb
Инициализирует новый экземпляр типа VisualBasicCompilationOptions с различными параметрами.
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName = default, string mainTypeName = default, string scriptClassName = "Script", System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports = default, string rootNamespace = default, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, bool optionInfer = true, bool optionExplicit = true, bool optionCompareText = false, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, bool embedVbCoreRuntime = false, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = true, string cryptoKeyContainer = default, string cryptoKeyFile = default, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey = default, bool? delaySign = default, Microsoft.CodeAnalysis.Platform platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption = Microsoft.CodeAnalysis.ReportDiagnostic.Default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions = default, bool concurrentBuild = true, bool deterministic = false, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver = default, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver = default, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver = default, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer = default, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider = default, bool publicSign = false, bool reportSuppressedDiagnostics = false, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public);
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider * bool * bool * Microsoft.CodeAnalysis.MetadataImportOptions -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = "Script", Optional globalImports As IEnumerable(Of GlobalImport) = Nothing, Optional rootNamespace As String = Nothing, Optional optionStrict As OptionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, Optional optionInfer As Boolean = true, Optional optionExplicit As Boolean = true, Optional optionCompareText As Boolean = false, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional embedVbCoreRuntime As Boolean = false, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = true, Optional cryptoKeyContainer As String = Nothing, Optional cryptoKeyFile As String = Nothing, Optional cryptoPublicKey As ImmutableArray(Of Byte) = Nothing, Optional delaySign As Nullable(Of Boolean) = Nothing, Optional platform As Platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Optional generalDiagnosticOption As ReportDiagnostic = Microsoft.CodeAnalysis.ReportDiagnostic.Default, Optional specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)) = Nothing, Optional concurrentBuild As Boolean = true, Optional deterministic As Boolean = false, Optional xmlReferenceResolver As XmlReferenceResolver = Nothing, Optional sourceReferenceResolver As SourceReferenceResolver = Nothing, Optional metadataReferenceResolver As MetadataReferenceResolver = Nothing, Optional assemblyIdentityComparer As AssemblyIdentityComparer = Nothing, Optional strongNameProvider As StrongNameProvider = Nothing, Optional publicSign As Boolean = false, Optional reportSuppressedDiagnostics As Boolean = false, Optional metadataImportOptions As MetadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public)
Параметры
- outputKind
- OutputKind
Тип выходных данных компиляции. OutputKind
- moduleName
- String
Необязательный параметр, указывающий имя сборки, в которую будет входить этот модуль.
- mainTypeName
- String
Необязательный параметр для указания класса или модуля, содержащего процедуру Sub Main.
- scriptClassName
- String
Необязательный параметр для указания альтернативного объекта DefaultScriptClassName, который будет использоваться.
- globalImports
- IEnumerable<GlobalImport>
Необязательная коллекция GlobalImports GlobalImports .
- rootNamespace
- String
Необязательный параметр, указывающий имя корневого пространства имен по умолчанию.
- optionStrict
- OptionStrict
Необязательный параметр, указывающий поведение option Strict по умолчанию. OptionStrict
- optionInfer
- Boolean
Необязательный параметр для указания поведения вывода параметра по умолчанию.
- optionExplicit
- Boolean
Необязательный параметр, указывающий поведение параметра по умолчанию.
- optionCompareText
- Boolean
Необязательный параметр, указывающий поведение параметра сравнения текста по умолчанию.
- parseOptions
- VisualBasicParseOptions
Необязательный параметр для указания параметров синтаксического анализа. VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
Необязательный параметр, указывающий поведение встроенной среды выполнения Visual Basic Core.
- optimizationLevel
- OptimizationLevel
Необязательный параметр для включения и отключения оптимизаций.
- checkOverflow
- Boolean
Необязательный параметр для указания включения или отключения проверки переполнения.
- cryptoKeyContainer
- String
Необязательный параметр, указывающий имя контейнера ключей для пары ключей, чтобы присвоить сборке строгое имя.
- cryptoKeyFile
- String
Необязательный параметр, указывающий файл, содержащий пару ключей или ключей, чтобы присвоить сборке строгое имя.
- cryptoPublicKey
- ImmutableArray<Byte>
Необязательный параметр, указывающий открытый ключ, используемый для присвоения сборке строгого имени.
Необязательный параметр, указывающий, будет ли сборка полностью или частично подписана.
- platform
- Platform
Необязательный параметр, указывающий, какая версия платформы среды CLR может выполнять компиляцию. Platform
- generalDiagnosticOption
- ReportDiagnostic
Необязательный параметр, указывающий общий уровень предупреждений.
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
Необязательная коллекция, представляющая определенные предупреждения, отличающиеся от общего поведения предупреждений.
- concurrentBuild
- Boolean
Необязательный параметр, указывающий включение и отключение параллельной сборки.
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
Необязательный параметр для указания сопоставителя XML-файлов.
- sourceReferenceResolver
- SourceReferenceResolver
Необязательный параметр, указывающий сопоставитель исходного файла.
- metadataReferenceResolver
- MetadataReferenceResolver
Необязательный параметр для указания MetadataReferenceResolver.
- assemblyIdentityComparer
- AssemblyIdentityComparer
Необязательный параметр для указания AssemblyIdentityComparer.
- strongNameProvider
- StrongNameProvider
Необязательный параметр для указания StrongNameProvider.
- publicSign
- Boolean
Необязательный параметр, указывающий, будет ли сборка открытой подписью.
- reportSuppressedDiagnostics
- Boolean
Необязательный параметр, указывающий, следует ли сообщать о отключенной диагностике.
- metadataImportOptions
- MetadataImportOptions
Необязательный параметр для указания параметров импорта метаданных.