Workspace.Options Property
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.
Caution
Workspace options should be set by invoking 'workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(newOptionSet))'
Gets or sets the set of all global options and Options. Setter also force updates the CurrentSolution to have the updated Options.
public:
property Microsoft::CodeAnalysis::Options::OptionSet ^ Options { Microsoft::CodeAnalysis::Options::OptionSet ^ get(); void set(Microsoft::CodeAnalysis::Options::OptionSet ^ value); };
public Microsoft.CodeAnalysis.Options.OptionSet Options { get; set; }
public Microsoft.CodeAnalysis.Options.OptionSet Options { get; [System.Obsolete("Workspace options should be set by invoking 'workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(newOptionSet))'")] set; }
member this.Options : Microsoft.CodeAnalysis.Options.OptionSet with get, set
[<set: System.Obsolete("Workspace options should be set by invoking 'workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(newOptionSet))'")>]
member this.Options : Microsoft.CodeAnalysis.Options.OptionSet with get, set
Public Property Options As OptionSet
Property Value
- Attributes
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.