語言

NameValueConfigurationElement(String, String) 建構函式

定義

根據所提供的參數初始化該類別的新 NameValueConfigurationElement 實例。

public:
 NameValueConfigurationElement(System::String ^ name, System::String ^ value);
public NameValueConfigurationElement(string name, string value);
new System.Configuration.NameValueConfigurationElement : string * string -> System.Configuration.NameValueConfigurationElement
Public Sub New (name As String, value As String)

參數

name
String

那個物體的名字 NameValueConfigurationElement 。

value
String

物品的 NameValueConfigurationElement 價值。

適用於