IInternalConfigHost.CreateDeprecatedConfigContext(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立並回傳應用程式設定中已棄用的上下文物件。
public:
System::Object ^ CreateDeprecatedConfigContext(System::String ^ configPath);
public object CreateDeprecatedConfigContext(string configPath);
abstract member CreateDeprecatedConfigContext : string -> obj
Public Function CreateDeprecatedConfigContext (configPath As String) As Object
參數
- configPath
- String
一個代表應用程式設定檔路徑的字串。
傳回
應用程式設定中已棄用的上下文物件。