共用方式為


ParseOptions.WithFeatures 方法

定義

啟用一些用於測試的實驗性語言功能。

public:
 Microsoft::CodeAnalysis::ParseOptions ^ WithFeatures(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ features);
public Microsoft.CodeAnalysis.ParseOptions WithFeatures (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> features);
member this.WithFeatures : seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.CodeAnalysis.ParseOptions
Public Function WithFeatures (features As IEnumerable(Of KeyValuePair(Of String, String))) As ParseOptions

參數

傳回

適用於