ConfigurationProvider.Set(String, String) 方法

定義

設定指定索引鍵的值。Sets a value for a given key.

public:
 virtual void Set(System::String ^ key, System::String ^ value);
public virtual void Set (string key, string value);
abstract member Set : string * string -> unit
override this.Set : string * string -> unit
Public Overridable Sub Set (key As String, value As String)

參數

key
String

要設定的組態索引鍵。The configuration key to set.

value
String

要設定的值。The value to set.

實作

適用於