Initializes a new instance of ResultObjectsManager with the specified named values and capacity. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim namedValueDictionary As SmsNamedValuesDictionary
Dim capacity As Integer

Dim instance As New ResultObjectsManager(namedValueDictionary, capacity)

Syntax

Visual Basic
Public Sub New ( _
		namedValueDictionary As SmsNamedValuesDictionary, _
		capacity As Integer _
)
C#
public ResultObjectsManager (
		SmsNamedValuesDictionary namedValueDictionary,
		int capacity
)
C++
public:
ResultObjectsManager (
		SmsNamedValuesDictionary^ namedValueDictionary, 
		int capacity
)
J#
public ResultObjectsManager (
		SmsNamedValuesDictionary namedValueDictionary, 
		int capacity
)
JScript
public function ResultObjectsManager (
		namedValueDictionary : SmsNamedValuesDictionary, 
		capacity : int
)

Parameters

namedValueDictionary

[in] SmsNamedValuesDictionary object that represents named values.

capacity

[in] Number of result objects that the manager can support.

Remarks

Capacity is the initial capacity, or the number of individual IResultObject objects which are contained within this single ResultObjectsManager. The size will automatically grow, but performance is slightly improved if the size is known.


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also