Language

RegistrySetting.SetValue Method (String, String[])

 

Configures the registry setting with a MultiString (REG_MULTI_SZ) value that has the specified value name by using an array of strings.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)

Syntax

public void SetValue(
    string name,
    string[] value
)
public:
void SetValue(
    String^ name,
    array<String^>^ value
)
member SetValue : 
        name:string *
        value:string[] -> unit
Public Sub SetValue (
    name As String,
    value As String()
)

Parameters

  • name
    Type: System.String

    The value name. Specify an empty string (“”) or null for the default value.

  • value
    Type: System.String[]

    An array that holds the value data.

See Also

SetValue Overload
RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top