ManagementNamedValueCollection.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.