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

参数

返回

适用于