次の方法で共有


Workspace.Options プロパティ

定義

注意事項

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

すべてのグローバル オプションのセットを取得または設定します Options。 Setter も強制的に更新され、 CurrentSolution 更新 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

プロパティ値

属性

適用対象