ParseOptions.WithFeatures 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
启用一些用于测试的实验性语言功能。
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
参数
- features
- IEnumerable<KeyValuePair<String,String>>