Skip to main content
A newer version of this page is available. .

SerializationFormatRule(AccessPermission, SerializationFormat[]) Constructor

Creates the SerializationFormatRule that provides the specified access permission to specified report layout serialization formats.

Namespace: DevExpress.XtraReports.Security

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public SerializationFormatRule(
    AccessPermission permission,
    params SerializationFormat[] formats
)

Parameters

Name Type Description
permission AccessPermission

The AccessPermission enumeration value that specifies whether the created rule allows or denies the specified specified report layout serialization formats.

formats SerializationFormat[]

An array of report layout serialization formats that the created rule allows or denies.

Remarks

You can use the static Allow(SerializationFormat[]) or Deny(SerializationFormat[]) method to create an instance of the SerializationFormatRule class.

See Also