Add Method

ManagementNamedValueCollection.Add Method (String, Object)

 

Adds a single-named value to the collection.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public void Add(
	string name,
	object value
)

Parameters

name
Type: System.String

The name of the new value.

value
Type: System.Object

The value to be associated with the name.

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft