DWbemContext.SetValue
[This is preliminary documentation and subject to change.]
The DWbemContext.SetValue method creates or overwrites a named context value.
SetValue(
[in] NameIndex As String,
[in] lFlags As Long,
[in] pValue As VARIANT
) As Long
Parameters
-
NameIndex
-
Cannot be vbNullString. A string indicating the name of the context value to be changed.
-
lFlags
-
Reserved. It must be zero.
-
pValue
-
Must be a valid VARIANT, which is treated as read-only. The value in the VARIANT becomes the named context value.