Sets a single item that corresponds to the specified property name and value. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ResultObjectsManager
Dim propertyName As String
Dim value As IResultObject

instance.SetSingleItem(propertyName, value)

Syntax

Visual Basic
Public Sub SetSingleItem ( _
		propertyName As String, _
		value As IResultObject _
)
C#
public void SetSingleItem (
		string propertyName,
		IResultObject value
)
C++
public:
virtual void SetSingleItem (
		String^ propertyName, 
		IResultObject^ value
) sealed
J#
public final void SetSingleItem (
		String propertyName, 
		IResultObject value
)
JScript
public final function SetSingleItem (
		propertyName : String, 
		value : IResultObject
)

Parameters

propertyName

[in] Name of a property of the current result object.

value

[in] IResultObject interface for getting and setting result object properties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also