RegistrySetting.GetDWordValue Method ()
Retrieves the data value for a registry setting that modifies the registry with DWord (REG_DWORD) data.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Syntax
public int GetDWordValue()
public:
int GetDWordValue()
member GetDWordValue : unit -> int
Public Function GetDWordValue As Integer
Return Value
Type: System.Int32
Returns Int32. The DWord data.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The registry setting does not have a value (the HasValue property is false). |
InvalidCastException |
See Also
RegistrySetting Class
Microsoft.GroupPolicy Namespace
Return to top