Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
---|
Dim connectionManager As ConnectionManagerBase Dim resultObject As IResultObject Dim rootProperty As String Dim resultObjects As Dictionary(Of String, IResultObject) ResultObjectHelpers.SetDictionaryIntoProperty(connectionManager, resultObject, rootProperty, resultObjects) |
Syntax
Visual Basic |
---|
Public Shared Sub SetDictionaryIntoProperty ( _ connectionManager As ConnectionManagerBase, _ resultObject As IResultObject, _ rootProperty As String, _ resultObjects As Dictionary(Of String, IResultObject) _ ) |
C# |
---|
public static void SetDictionaryIntoProperty ( ConnectionManagerBase connectionManager, IResultObject resultObject, string rootProperty, Dictionary<string,IResultObject> resultObjects ) |
C++ |
---|
public: static void SetDictionaryIntoProperty ( ConnectionManagerBase^ connectionManager, IResultObject^ resultObject, String^ rootProperty, Dictionary<String^, IResultObject^>^ resultObjects ) |
J# |
---|
public static void SetDictionaryIntoProperty ( ConnectionManagerBase connectionManager, IResultObject resultObject, String rootProperty, Dictionary<String,IResultObject> resultObjects ) |
JScript |
---|
public static function SetDictionaryIntoProperty ( connectionManager : ConnectionManagerBase, resultObject : IResultObject, rootProperty : String, resultObjects : Dictionary<String,IResultObject> ) |
Parameters
- connectionManager
-
[in] ConnectionManagerBase object.
- resultObject
-
[in] IResultObject interface for getting and setting result object properties.
- rootProperty
-
[in] Root property in which to place the result objects.
- resultObjects
-
[in] System.Collections.Generic.Dictionary object that represents IResultObject interfaces.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The resultObject parameter cannot be null. |
ArgumentException |
The resultObjects parameter cannot be null. |
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.