VisualBasicCompilationOptions Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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)
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- 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)
Parametri
- 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
- Attributi
Si applica a
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)
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- 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)
Parametri
- 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
- Attributi
Si applica a
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)
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- 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)
Parametri
- 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
- Attributi
Si applica a
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)
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- 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)
Parametri
- 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
- Attributi
Si applica a
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)
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
- Origine:
- VisualBasicCompilationOptions.vb
Inizializza una nuova istanza del tipo VisualBasicCompilationOptions con varie opzioni.
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)
Parametri
- outputKind
- OutputKind
Tipo di output di compilazione. OutputKind
- moduleName
- String
Parametro facoltativo di cui specificare il nome dell'assembly di cui farà parte il modulo.
- mainTypeName
- String
Parametro facoltativo per specificare la classe o il modulo che contiene la routine Sub Main.
- scriptClassName
- String
Parametro facoltativo per specificare un oggetto DefaultScriptClassName alternativo da utilizzare.
- globalImports
- IEnumerable<GlobalImport>
Raccolta facoltativa di GlobalImports GlobalImports .
- rootNamespace
- String
Parametro facoltativo per specificare il nome dello spazio dei nomi radice predefinito.
- optionStrict
- OptionStrict
Parametro facoltativo per specificare il comportamento option strict predefinito. OptionStrict
- optionInfer
- Boolean
Parametro facoltativo per specificare il comportamento di Option Infer predefinito.
- optionExplicit
- Boolean
Parametro facoltativo per specificare il comportamento predefinito Option Explicit.
- optionCompareText
- Boolean
Parametro facoltativo per specificare il comportamento predefinito opzione Confronto testo.
- parseOptions
- VisualBasicParseOptions
Parametro facoltativo per specificare le opzioni di analisi. VisualBasicParseOptions
- embedVbCoreRuntime
- Boolean
Parametro facoltativo per specificare il comportamento di Visual Basic Core Runtime incorporato.
- optimizationLevel
- OptimizationLevel
Parametro facoltativo per abilitare/disabilitare le ottimizzazioni.
- checkOverflow
- Boolean
Parametro facoltativo per specificare l'abilitazione/disabilitazione del controllo dell'overflow.
- cryptoKeyContainer
- String
Parametro facoltativo per specificare un nome contenitore di chiavi per una coppia di chiavi per assegnare un nome sicuro a un assembly.
- cryptoKeyFile
- String
Parametro facoltativo per specificare un file contenente una chiave o una coppia di chiavi per assegnare un nome sicuro a un assembly.
- cryptoPublicKey
- ImmutableArray<Byte>
Parametro facoltativo per specificare una chiave pubblica usata per assegnare un nome sicuro a un assembly.
Parametro facoltativo per specificare se l'assembly sarà completamente o parzialmente firmato.
- platform
- Platform
Parametro facoltativo per specificare quale versione della piattaforma di Common Language Runtime (CLR) può eseguire la compilazione. Platform
- generalDiagnosticOption
- ReportDiagnostic
Parametro facoltativo per specificare il livello di avviso generale.
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
Raccolta facoltativa che rappresenta avvisi specifici che differiscono dal comportamento generale degli avvisi.
- concurrentBuild
- Boolean
Parametro facoltativo per specificare l'abilitazione/disabilitazione della compilazione simultanea.
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
Parametro facoltativo per specificare il resolver di file XML.
- sourceReferenceResolver
- SourceReferenceResolver
Parametro facoltativo per specificare il resolver del file di origine.
- metadataReferenceResolver
- MetadataReferenceResolver
Parametro facoltativo per specificare MetadataReferenceResolver.
- assemblyIdentityComparer
- AssemblyIdentityComparer
Parametro facoltativo per specificare AssemblyIdentityComparer.
- strongNameProvider
- StrongNameProvider
Parametro facoltativo per specificare StrongNameProvider.
- publicSign
- Boolean
Parametro facoltativo per specificare se l'assembly sarà firmato pubblicamente.
- reportSuppressedDiagnostics
- Boolean
Parametro facoltativo per specificare se deve essere segnalata o meno la diagnostica eliminata.
- metadataImportOptions
- MetadataImportOptions
Parametro facoltativo per specificare le opzioni di importazione dei metadati.