Editar

Compartilhar via


ManagementNamedValueCollection.Item[String] Property

Definition

Gets the value associated with the specified name from this collection. In C#, this property is the indexer for the ManagementNamedValueCollection class.

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

Parameters

name
String

The name of the value to be returned.

Property Value

An object that is associated with the specified name from this collection.

Remarks

Property Value

An object containing the value of the specified item in this collection.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to