RegistrySetting.Value Property

 

Gets the value data for the registry setting.

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

Syntax

public object Value { get; }
public:
property Object^ Value {
    Object^ get();
}
member Value : Object with get
Public ReadOnly Property Value As Object

Property Value

Type: System.Object

Returns Object. The value data. If the registry setting has no value data (the HasValue property is false), null is returned.

Remarks

You can cast the Value property to the expected data type according to the value of the Type property.

See Also

RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top