RegistrySetting.ValueName Property


Gets or sets the value name for this registry setting.

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


public string ValueName { get; set; }
property String^ ValueName {
    String^ get();
    void set(String^ value);
member ValueName : string with get, set
Public Property ValueName As String

Property Value

Type: System.String

Returns String. The value name. An empty string (“”) represents the default value.


You can specify an empty string or null for the default value.

If you set the ValueName property and a value is not yet associated with the registry setting (the HasValue property is false), a value is configured that contains an empty string.

See Also

RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top