RegistrySetting.HasValue Property


Gets a value that indicates whether the registry setting has a value associated with it.

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


public bool HasValue { get; }
property bool HasValue {
    bool get();
member HasValue : bool with get
Public ReadOnly Property HasValue As Boolean

Property Value

Type: System.Boolean

Returns Boolean. true to indicate that the registry setting has a value; otherwise, false.

See Also

RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top