Freigeben über


Workspace.Options Eigenschaft

Definition

Achtung

Workspace options should be set by invoking 'workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(newOptionSet))'

Ruft die Gruppe aller globalen Optionen ab Optionsoder legt sie fest. Setter erzwingt außerdem Updates, um die CurrentSolution Aktualisierung Optionszu haben.

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

Eigenschaftswert

Attribute

Gilt für: