ConfigurationPropertyCollection.Item[String] 屬性

定義

取得具有指定之名稱的集合項目。

public:
 property System::Configuration::ConfigurationProperty ^ default[System::String ^] { System::Configuration::ConfigurationProperty ^ get(System::String ^ name); };
public System.Configuration.ConfigurationProperty this[string name] { get; }
member this.Item(string) : System.Configuration.ConfigurationProperty
Default Public ReadOnly Property Item(name As String) As ConfigurationProperty

參數

name
String

要傳回的 ConfigurationProperty

屬性值

具有指定 ConfigurationProperty. 的 name

範例

下列範例將示範如何使用 Count 屬性。

適用於

另請參閱