Back to Devexpress

RegistryAccessPolicy.IsOperationAllowed(RegistryOperation) Method

corelibraries-devexpress-dot-data-dot-utils-dot-registryaccesspolicy-dot-isoperationallowed-x28-devexpress-dot-data-dot-utils-dot-registry-dot-internal-dot-registryoperation-x29.md

latest1.9 KB
Original Source

RegistryAccessPolicy.IsOperationAllowed(RegistryOperation) Method

Indicates whether the specified registry operation is allowed.

Namespace : DevExpress.Data.Utils

Assembly : DevExpress.Data.Desktop.v25.2.dll

NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public static bool IsOperationAllowed(
    RegistryOperation operation
)
vb
Public Shared Function IsOperationAllowed(
    operation As RegistryOperation
) As Boolean

Parameters

NameTypeDescription
operationDevExpress.Data.Utils.Registry.Internal.RegistryOperation

The registry operation.

|

Returns

TypeDescription
Boolean

true if the specified registry operation is allowed; otherwise, false.

|

Remarks

Use the AllowOperation method to enable a specific registry operation when a restrictive policy is activated.

See Also

RegistryAccessPolicy Class

RegistryAccessPolicy Members

DevExpress.Data.Utils Namespace