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>>