RegistrySetting.GetUInt64Value Method ()

 

Retrieves the data value as unsigned for a registry setting that modifies the registry with QWord (REG_QDWORD) data.

This API is not CLS-compliant.

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

Syntax

[CLSCompliantAttribute(false)]
public ulong GetUInt64Value()
public:
[CLSCompliantAttribute(false)]
unsigned long long GetUInt64Value()
[<CLSCompliantAttribute(false)>]
member GetUInt64Value : unit -> uint64
<CLSCompliantAttribute(False)>
Public Function GetUInt64Value As ULong

Return Value

Type: System.UInt64

Returns UInt64. The unsigned QWord data.

Exceptions

Exception Condition
InvalidOperationException

The registry setting does not have a value (the HasValue property is false).

InvalidCastException

Type member property is not QWord

See Also

RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top