ConfigurationElement.Item[String] Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene o imposta un attributo con il nome specificato.
public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ attributeName); void set(System::String ^ attributeName, System::Object ^ value); };
public object this[string attributeName] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(attributeName As String) As Object
Parametri
- attributeName
- String
Nome dell'attributo.
Valore della proprietà
Oggetto ConfigurationAttribute con l'oggetto specificato attributeName
.
Commenti
È anche possibile ottenere o impostare un valore dell'attributo usando i GetAttributeValue metodi o SetAttributeValue . Per ottenere prestazioni ottimali del sistema, è consigliabile usare questi metodi anziché la Item[] proprietà.