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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.