Skip to main content
All docs
V24.2

RegistryAccessPolicy.IsOperationAllowed(RegistryOperation) Method

Indicates whether the specified registry operation is allowed.

Namespace: DevExpress.Data.Utils

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

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

#Declaration

public static bool IsOperationAllowed(
    RegistryOperation operation
)

#Parameters

Name Type Description
operation DevExpress.Data.Utils.Registry.Internal.RegistryOperation

The registry operation.

#Returns

Type Description
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